mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
ENH: update how to load_ams_list
JIRA: [STUDIO-14255] Change-Id: I204f881b72185ee16f8ff204feb6469504f9f86b (cherry picked from commit 4150ff5c178de02dfa67e6bd90765e35c6a64e99)
This commit is contained in:
@@ -642,9 +642,6 @@ bool CalibrationPanel::Show(bool show) {
|
||||
obj = dev->get_selected_machine();
|
||||
if (obj == nullptr) {
|
||||
dev->load_last_machine();
|
||||
obj = dev->get_selected_machine();
|
||||
if (obj)
|
||||
GUI::wxGetApp().sidebar().load_ams_list(obj->get_dev_id(), obj);
|
||||
}
|
||||
else {
|
||||
obj->reset_update_time();
|
||||
@@ -682,7 +679,6 @@ void CalibrationPanel::set_default()
|
||||
{
|
||||
obj = nullptr;
|
||||
last_conn_type = "undefined";
|
||||
wxGetApp().sidebar().load_ams_list({}, {});
|
||||
}
|
||||
|
||||
void CalibrationPanel::msw_rescale()
|
||||
|
||||
Reference in New Issue
Block a user