Removed unnecessary function.

This commit is contained in:
The Wobbler 2024-11-21 17:38:02 +01:00
parent 2012ee941c
commit a42b2b65ec
2 changed files with 1 additions and 4 deletions

View file

@ -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)

View file

@ -74,6 +74,3 @@ class Utils:
event.ignore()
print("Bye!")
def open_settings(self):
self.app.main_window.settingsDock.show()