mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
FIX: update ams list in SelectMachineDialog
Change-Id: Ice625ab10197ba1e49d70243ee020c5eeae60053
This commit is contained in:
@@ -1973,6 +1973,8 @@ void SelectMachineDialog::on_selection_changed(wxCommandEvent &event)
|
|||||||
obj->command_get_version();
|
obj->command_get_version();
|
||||||
obj->command_request_push_all();
|
obj->command_request_push_all();
|
||||||
dev->set_selected_machine(m_printer_last_select);
|
dev->set_selected_machine(m_printer_last_select);
|
||||||
|
// Has changed machine unrecoverably
|
||||||
|
GUI::wxGetApp().sidebar().load_ams_list(obj->amsList);
|
||||||
update_select_layout(obj);
|
update_select_layout(obj);
|
||||||
} else {
|
} else {
|
||||||
BOOST_LOG_TRIVIAL(error) << "on_selection_changed dev_id not found";
|
BOOST_LOG_TRIVIAL(error) << "on_selection_changed dev_id not found";
|
||||||
|
|||||||
Reference in New Issue
Block a user