mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 06:03:15 +08:00
FIX: the machine status is not refreshed after unbinding
jira: STUDIO-10017 Change-Id: I351a17abac132369ecf342ffb79b17228d5ef250
This commit is contained in:
parent
9e1a206d11
commit
4a01c840ab
@ -5202,8 +5202,6 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
||||
BOOST_LOG_TRIVIAL(trace) << "parse_json timeout = " << diff.count();
|
||||
}
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -2158,6 +2158,9 @@ void GUI_App::init_networking_callbacks()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (GUI::wxGetApp().plater())
|
||||
GUI::wxGetApp().plater()->update_machine_sync_status();
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user