Ongoing uploads while exiting dialog

Ongoing uploads while exiting dialog

Ongoing uploads while exiting dialog
This commit is contained in:
David Kocik 2020-12-10 10:58:40 +01:00
parent 48a21cae93
commit 3523bb421f
10 changed files with 63 additions and 12 deletions
src/slic3r/GUI

View file

@ -209,6 +209,10 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_S
event.Veto();
return;
}
if (event.CanVeto() && !wxGetApp().check_print_host_queue()) {
event.Veto();
return;
}
this->shutdown();
// propagate event
event.Skip();