Fix: Only call wxEndBusyCursor when is busy

Change-Id: I8a6085aca652df4892bf5182e34d01c423a17bd6
This commit is contained in:
tao wang
2022-09-02 13:16:54 +08:00
committed by Lane.Wei
parent dbe414c38c
commit 5cedfe2216
+4 -1
View File
@@ -1066,7 +1066,10 @@ void SelectMachineDialog::prepare_mode()
if (m_print_job) {
m_print_job->join();
}
wxEndBusyCursor();
if (wxIsBusy())
wxEndBusyCursor();
Enable_Send_Button(true);
m_status_bar->reset();