mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: do some update while select printer
jira: [STUDIO-11324] [STUDIO-11325] Change-Id: I38db55a15df47f45c0a2ddea9b12622148509ed4 (cherry picked from commit f2ff1cecad4d6ed2aeea1e166e4c67216983a78e)
This commit is contained in:
@@ -216,6 +216,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()
|
||||
@@ -302,6 +303,7 @@ void MonitorPanel::on_update_all(wxMouseEvent &event)
|
||||
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_));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user