- changes the exit method from exit(0) to quit()

This commit is contained in:
Marius Stanciu
2021-08-05 21:04:00 +03:00
committed by Marius
parent 0df26163a4
commit 584134a27a
4 changed files with 6 additions and 2 deletions

View File

@@ -4044,7 +4044,8 @@ class MainGUI(QtWidgets.QMainWindow):
try:
self.final_save.emit()
except SystemError:
sys.exit(0)
QtWidgets.QApplication.quit()
# sys.exit(0)
event.ignore()
def on_fullscreen(self, disable=False):