Removed unnecessary function.
This commit is contained in:
parent
2012ee941c
commit
a42b2b65ec
2 changed files with 1 additions and 4 deletions
|
@ -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.saveFile.triggered.connect(app.file_actions.save_current_file)
|
||||||
app.gui.main_window.openFileTabs.tabCloseRequested.connect(app.file_actions.close_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.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)
|
||||||
|
|
3
utils.py
3
utils.py
|
@ -74,6 +74,3 @@ class Utils:
|
||||||
event.ignore()
|
event.ignore()
|
||||||
|
|
||||||
print("Bye!")
|
print("Bye!")
|
||||||
|
|
||||||
def open_settings(self):
|
|
||||||
self.app.main_window.settingsDock.show()
|
|
||||||
|
|
Loading…
Reference in a new issue