Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ulc_mm_package/QtGUI/dev_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
QtWidgets.QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)

# Qt GUI Files
_UI_FILE_DIR = "dev_run.ui"
_UI_FILE_DIR = os.path.join(os.path.dirname(__file__), "dev_run.ui")


class ApplicationError(Exception):
Expand Down Expand Up @@ -468,8 +468,8 @@ def __init__(self, *args, **kwargs):
retval = self._displayMessageBox(
QtWidgets.QMessageBox.Icon.Critical,
"Error - harddrive not detected.",
"ERROR! No external harddrive / SSD detected. Press OK to close the application.",
cancel=False,
"ERROR! No external harddrive / SSD detected. Press OK to close the application, cancel to continue anyway.",
cancel=True,
)
if retval == QtWidgets.QMessageBox.Ok:
quit()
Expand Down