diff --git a/connect_gui.py b/connect_gui.py index 086f55d..d9ee6c1 100644 --- a/connect_gui.py +++ b/connect_gui.py @@ -2,7 +2,7 @@ def connect_gui(app): 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.saveFileAs.triggered.connect(app.file_actions.save_current_file_as)