mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results, River: Minor change.
This commit is contained in:
1 parent
ebbe4c4be7
commit
3b5b7c09dd
2 files changed
+2
-4
No files matched your search
@@ -166,6 +166,7 @@ class SolverLogWindow(ASubMainWindow, ListedSubWindow):
|
||||
|
||||
self.find(QAction, "action_stop").setEnabled(True)
|
||||
self.find(QAction, "action_log_file").setEnabled(False)
|
||||
self.find(QAction, "action_results").setEnabled(False)
|
||||
|
||||
def setup_alarm(self):
|
||||
self._alarm = QTimer()
|
||||
@@ -201,6 +202,7 @@ class SolverLogWindow(ASubMainWindow, ListedSubWindow):
|
||||
self.find(QAction, "action_pause").setEnabled(False)
|
||||
self.find(QAction, "action_stop").setEnabled(False)
|
||||
self.find(QAction, "action_results").setEnabled(True)
|
||||
|
||||
if self._solver.log_file() != "":
|
||||
self.find(QAction, "action_log_file").setEnabled(True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user