Configure: Add debug mode.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-04 14:18:56 +02:00
1 parent 39f6baf1a9
commit 29986079f3
5 files changed
+51 -20

No files matched your search

+3 -2
View File
@@ -114,7 +114,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
self.findChild(QAction, action).setEnabled(enable)
def setup_sc(self):
self._run_sc = QShortcut(QKeySequence("F5"), self)
# self._run_sc = QShortcut(QKeySequence("F5"), self)
return
def setup_connection(self):
"""Connect action to callback function
@@ -165,7 +166,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
.triggered.connect(actions[action])
# action.triggered.connect(actions[action])
self._run_sc.activated.connect(self.run_solver)
# self._run_sc.activated.connect(self.run_solver)
def changeEvent(self, event):
if event.type() == QEvent.LanguageChange: