FIX:fixed ams materials setting can not get event on mac

Change-Id: I80b9a8fc5e86df4b4e83e8ffecaa373caf856286
This commit is contained in:
tao wang 2022-08-03 11:28:16 +08:00 committed by Lane.Wei
parent e8787a4c12
commit 60e9c608a3
3 changed files with 107 additions and 144 deletions

View file

@ -1917,8 +1917,8 @@ void StatusPanel::on_filament_edit(wxCommandEvent &event)
}
}
}
m_filament_setting_dlg->Popup(true, filament, sn_number, temp_min, temp_max);
m_filament_setting_dlg->SetPosition(m_ams_control->GetScreenPosition());
m_filament_setting_dlg->Popup(filament, sn_number, temp_min, temp_max);
} catch (...) {
;
}