mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
This commit is contained in:
parent
288913cc4b
commit
b2b2bc2a9c
3 changed files with 18 additions and 5 deletions
|
@ -746,7 +746,7 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
|||
std::string url = m_messages.front();
|
||||
m_messages.clear();
|
||||
if (url.empty()) {
|
||||
m_last_error = -100;
|
||||
m_last_error = 1;
|
||||
} else {
|
||||
l.unlock();
|
||||
m_status = Status::Connecting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue