mirror of https://gitlab.com/pamhyr/pamhyr2
Results, River: Minor change.
parent
ebbe4c4be7
commit
3b5b7c09dd
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue