mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Configure: Add debug mode.
This commit is contained in:
1 parent
39f6baf1a9
commit
29986079f3
5 files changed
+51
-20
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user