Skip to content
Snippets Groups Projects
Commit 173b9710 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Add exit method to fix scheduler gui test

parent 359d0f93
No related branches found
No related tags found
No related merge requests found
Pipeline #74955 passed
...@@ -529,6 +529,11 @@ class MainWindow(QMainWindow, Ui_MainWindow): ...@@ -529,6 +529,11 @@ class MainWindow(QMainWindow, Ui_MainWindow):
"'Operator' not found in info table. It may have been renamed." "'Operator' not found in info table. It may have been renamed."
) )
def exit_app(self):
"""Exit application."""
log.info("Exiting the application.")
QApplication.quit()
def info_table_clear_component(self) -> None: def info_table_clear_component(self) -> None:
"""Clears the component part of the info table.""" """Clears the component part of the info table."""
row = self.info_table.findItems("Operator", Qt.MatchExactly) row = self.info_table.findItems("Operator", Qt.MatchExactly)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment