Results, River: Minor change.

mesh
Pierre-Antoine Rouby 2023-08-25 11:15:33 +02:00
parent ebbe4c4be7
commit 3b5b7c09dd
2 changed files with 2 additions and 4 deletions

View File

@ -311,10 +311,6 @@ class River(Graph, SQLSubModel):
self._save_submodel(execute, objs, data) self._save_submodel(execute, objs, data)
return True return True
@property
def reach(self):
return self._reach
@property @property
def frictions(self): def frictions(self):
return self._frictions return self._frictions

View File

@ -166,6 +166,7 @@ class SolverLogWindow(ASubMainWindow, ListedSubWindow):
self.find(QAction, "action_stop").setEnabled(True) self.find(QAction, "action_stop").setEnabled(True)
self.find(QAction, "action_log_file").setEnabled(False) self.find(QAction, "action_log_file").setEnabled(False)
self.find(QAction, "action_results").setEnabled(False)
def setup_alarm(self): def setup_alarm(self):
self._alarm = QTimer() self._alarm = QTimer()
@ -201,6 +202,7 @@ class SolverLogWindow(ASubMainWindow, ListedSubWindow):
self.find(QAction, "action_pause").setEnabled(False) self.find(QAction, "action_pause").setEnabled(False)
self.find(QAction, "action_stop").setEnabled(False) self.find(QAction, "action_stop").setEnabled(False)
self.find(QAction, "action_results").setEnabled(True) self.find(QAction, "action_results").setEnabled(True)
if self._solver.log_file() != "": if self._solver.log_file() != "":
self.find(QAction, "action_log_file").setEnabled(True) self.find(QAction, "action_log_file").setEnabled(True)