FIX: do some update while select printer
jira: [STUDIO-11324] [STUDIO-11325] Change-Id: I38db55a15df47f45c0a2ddea9b12622148509ed4
This commit is contained in:
parent
9505df87c1
commit
f2ff1cecad
|
@ -237,6 +237,7 @@ void MonitorPanel::set_default()
|
|||
//m_bitmap_wifi_signal->SetBitmap(wxNullBitmap);
|
||||
|
||||
wxGetApp().sidebar().load_ams_list({}, {});
|
||||
wxGetApp().sidebar().update_sync_status(nullptr);
|
||||
}
|
||||
|
||||
wxWindow* MonitorPanel::create_side_tools()
|
||||
|
@ -315,6 +316,7 @@ void MonitorPanel::select_machine(std::string machine_sn)
|
|||
obj_->reset_pa_cali_result();
|
||||
Sidebar &sidebar = GUI::wxGetApp().sidebar();
|
||||
sidebar.load_ams_list(obj_->dev_id, obj_);
|
||||
sidebar.update_sync_status(obj_);
|
||||
sidebar.set_need_auto_sync_after_connect_printer(sidebar.need_auto_sync_extruder_list_after_connect_priner(obj_));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue