Bread_Editor/connect_gui.py

7 lines
297 B
Python
Raw Normal View History

#!/usr/bin/python3
def connect_gui(app):
app.main_window.openFile.triggered.connect(app.file_actions.open_files)
2024-11-19 18:32:52 +01:00
app.main_window.saveFile.triggered.connect(app.file_actions.save_current_file)
2024-11-19 19:05:28 +01:00
app.main_window.openFileTabs.tabCloseRequested.connect(app.file_actions.close_current_file)