ENH:dismiss the amsmapping window when sending printing

Change-Id: Iac0612b48105b62e919eeeb9ed7f338c1bab0a30
This commit is contained in:
tao wang 2023-06-06 19:06:57 +08:00 committed by Lane.Wei
parent aca2e18549
commit 060ba6c70e
1 changed files with 3 additions and 0 deletions

View File

@ -2404,6 +2404,9 @@ void SelectMachineDialog::on_send_print()
m_is_canceled = false; m_is_canceled = false;
Enable_Send_Button(false); Enable_Send_Button(false);
if (m_mapping_popup.IsShown())
m_mapping_popup.Dismiss();
if (m_print_type == PrintFromType::FROM_NORMAL && m_is_in_sending_mode) if (m_print_type == PrintFromType::FROM_NORMAL && m_is_in_sending_mode)
return; return;