- minor change in the way the app quits

This commit is contained in:
Marius Stanciu
2022-01-31 22:25:43 +02:00
committed by Marius
parent e8ceda4809
commit fc085217c9
2 changed files with 7 additions and 2 deletions

View File

@@ -4161,7 +4161,11 @@ class App(QtCore.QObject):
# self.close_app_signal.emit()
# sys.exit(0)
QtWidgets.QApplication.quit()
self.new_launch.close_command()
if sys.platform == 'win32' or sys.platform == 'linux':
try:
self.new_launch.close_command()
except Exception:
pass
@staticmethod
def kill_app():