diff --git a/connect_gui.py b/connect_gui.py index d9ebb66..9714118 100644 --- a/connect_gui.py +++ b/connect_gui.py @@ -5,4 +5,4 @@ def connect_gui(app): app.gui.main_window.saveFile.triggered.connect(app.file_actions.save_current_file) app.gui.main_window.openFileTabs.tabCloseRequested.connect(app.file_actions.close_current_file) app.gui.QTMainWindow.closeEvent = app.utils.on_close - app.gui.main_window.menuSettings.triggered.connect(app.utils.open_settings) + app.gui.main_window.menuSettings.triggered.connect(app.gui.main_window.settingsDock.show) diff --git a/utils.py b/utils.py index a418e9c..1642356 100644 --- a/utils.py +++ b/utils.py @@ -74,6 +74,3 @@ class Utils: event.ignore() print("Bye!") - - def open_settings(self): - self.app.main_window.settingsDock.show()