Creating new files now actually works.
Somehow PyQt passed something to the new_file()-function, and it crashed every time because the variable was the wrong type.
This commit is contained in:
parent
93408e9a29
commit
b2afa06ee1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
def connect_gui(app):
|
def connect_gui(app):
|
||||||
app.gui.main_window.openFile.triggered.connect(app.file_actions.open_files)
|
app.gui.main_window.openFile.triggered.connect(app.file_actions.open_files)
|
||||||
app.gui.main_window.newFile.triggered.connect(app.file_actions.create_file)
|
app.gui.main_window.newFile.triggered.connect(lambda: app.file_actions.create_file())
|
||||||
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.saveFileAs.triggered.connect(app.file_actions.save_current_file_as)
|
app.gui.main_window.saveFileAs.triggered.connect(app.file_actions.save_current_file_as)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue