Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitbailey committed Jun 1, 2023
1 parent ff31ea5 commit e2869df
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2325,11 +2325,6 @@ def QMessageBoxCritical(self, title: str, msg: str):

# Main function.
if __name__ == '__main__':
# There will be three separate GUIs:
# 1. Initialization loading screen, where devices are being searched for and the current status and tasks are displayed. If none are found, display an error and an exit button.
# 2. The device selection display, where devices can be selected and their settings can be changed prior to entering the control program.
# 3. The control GUI (mainwindow.ui), where the user has control over what the device(s) do.

log.register()

sys._excepthook = sys.excepthook
Expand Down Expand Up @@ -2384,10 +2379,6 @@ def exception_hook(exctype, value, traceback):
# Wait for the Qt loop to exit before exiting.
exit_code = application.exec() # block until

# Save the current configuration when exiting. If the program crashes, it doesn't save your config.
# if mainWindow.main_gui_booted:
# mainWindow.save_config(appDir, False)

# Cleanup.
del mainWindow

Expand Down

0 comments on commit e2869df

Please sign in to comment.