- few changes in the Milling UI

- made some changes in the application to prepare for usage of PyQt6
This commit is contained in:
Marius Stanciu
2020-12-08 17:55:41 +02:00
committed by Marius
parent d843cf7da7
commit 5a6271be09
6 changed files with 13 additions and 7 deletions

View File

@@ -3778,7 +3778,7 @@ class App(QtCore.QObject):
@staticmethod
def kill_app():
QtWidgets.qApp.quit()
QtCore.QCoreApplication.instance().quit()
# When the main event loop is not started yet in which case the qApp.quit() will do nothing
# we use the following command
# sys.exit(0)