mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
ENH:close the amsmapping dialog when exit seletmachine dialog
Change-Id: Ib49b1f9d08267c56b34d867edb40f287114479e1
This commit is contained in:
@@ -1917,6 +1917,9 @@ void SelectMachineDialog::init_timer()
|
|||||||
|
|
||||||
void SelectMachineDialog::on_cancel(wxCloseEvent &event)
|
void SelectMachineDialog::on_cancel(wxCloseEvent &event)
|
||||||
{
|
{
|
||||||
|
if (m_mapping_popup.IsShown())
|
||||||
|
m_mapping_popup.Dismiss();
|
||||||
|
|
||||||
if (m_print_job) {
|
if (m_print_job) {
|
||||||
if (m_print_job->is_running()) {
|
if (m_print_job->is_running()) {
|
||||||
m_print_job->cancel();
|
m_print_job->cancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user