ENH:close the amsmapping dialog when exit seletmachine dialog
Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
This commit is contained in:
parent
39f32c22f5
commit
150ed6a2d5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue