mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 13:10:54 +00:00
ENH:close the amsmapping dialog when exit seletmachine dialog
Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
This commit is contained in:
1 parent
39f32c22f5
commit
150ed6a2d5
1 file changed
+3
@@ -1917,6 +1917,9 @@ void SelectMachineDialog::init_timer()
|
||||
|
||||
void SelectMachineDialog::on_cancel(wxCloseEvent &event)
|
||||
{
|
||||
if (m_mapping_popup.IsShown())
|
||||
m_mapping_popup.Dismiss();
|
||||
|
||||
if (m_print_job) {
|
||||
if (m_print_job->is_running()) {
|
||||
m_print_job->cancel();
|
||||
|
||||
Reference in new issue
Block a user