mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 13:52:07 +00:00
FIX: move network hold to MainFrame
jira: [STUDIO-10994] Change-Id: I2c30ba3b0f17d52079332634a9a2dd138859e083 (cherry picked from commit 506e82cb02a79d97a30effde53fe85c7d278858c)
This commit is contained in:
@@ -1716,7 +1716,6 @@ void CalibrationPresetPage::update_show_status()
|
||||
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (!agent) {return;}
|
||||
if (!dev) return;
|
||||
dev->check_pushing();
|
||||
|
||||
MachineObject* obj_ = dev->get_selected_machine();
|
||||
if (!obj_) {
|
||||
@@ -1731,7 +1730,6 @@ void CalibrationPresetPage::update_show_status()
|
||||
|
||||
if (!obj_->is_lan_mode_printer()) {
|
||||
if (!agent->is_server_connected()) {
|
||||
agent->refresh_connection();
|
||||
show_status(CaliPresetPageStatus::CaliPresetStatusConnectingServer);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user