Fix: Only call wxEndBusyCursor when is busy
Change-Id: I8a6085aca652df4892bf5182e34d01c423a17bd6
This commit is contained in:
parent
dbe414c38c
commit
5cedfe2216
|
@ -1066,7 +1066,10 @@ void SelectMachineDialog::prepare_mode()
|
||||||
if (m_print_job) {
|
if (m_print_job) {
|
||||||
m_print_job->join();
|
m_print_job->join();
|
||||||
}
|
}
|
||||||
wxEndBusyCursor();
|
|
||||||
|
if (wxIsBusy())
|
||||||
|
wxEndBusyCursor();
|
||||||
|
|
||||||
Enable_Send_Button(true);
|
Enable_Send_Button(true);
|
||||||
|
|
||||||
m_status_bar->reset();
|
m_status_bar->reset();
|
||||||
|
|
Loading…
Reference in New Issue