Results, River: Minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-08-25 11:15:33 +02:00
1 parent ebbe4c4be7
commit 3b5b7c09dd
2 files changed
+2 -4

No files matched your search

-4
View File
@@ -311,10 +311,6 @@ class River(Graph, SQLSubModel):
self._save_submodel(execute, objs, data)
return True
@property
def reach(self):
return self._reach
@property
def frictions(self):
return self._frictions
+2
View File
@@ -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)