diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5eedd52 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +make.ps1 \ No newline at end of file diff --git a/resources/qrc/__pycache__/res_rc.cpython-311.pyc b/resources/qrc/__pycache__/res_rc.cpython-311.pyc index e09bcd6..598cdad 100644 Binary files a/resources/qrc/__pycache__/res_rc.cpython-311.pyc and b/resources/qrc/__pycache__/res_rc.cpython-311.pyc differ diff --git a/src/__pycache__/mainwindow.cpython-311.pyc b/src/__pycache__/mainwindow.cpython-311.pyc index 8b247a8..759cc33 100644 Binary files a/src/__pycache__/mainwindow.cpython-311.pyc and b/src/__pycache__/mainwindow.cpython-311.pyc differ diff --git a/src/mainwindow.py b/src/mainwindow.py index e19ed27..3fe26bf 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -24,7 +24,7 @@ def load_large_modules(): - global pd, pickle, configparser, logging + global pd, pickle, configparser, logging, sys global QFileDialog, QMessageBox, QDesktopServices, QPainter, QColor global QUrl, QSettings, QPropertyAnimation, Qt global MUSE_API, CheckTifDimensions @@ -32,6 +32,7 @@ def load_large_modules(): global Ui_MainWindow global Path + import sys import pandas as pd import pickle import configparser @@ -460,7 +461,7 @@ def on_action_00_save_triggered(self): QMessageBox.critical(self, "Error", f"Failed to save file: {e}") def on_action_00_exit_triggered(self): - exit() + sys.exit() def on_action_00_ga_triggered(self): self.mgot_widget.show()