Skip to content

Commit

Permalink
Fix status update on run finished
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInFez committed Apr 10, 2019
1 parent 8af165d commit a0d399b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/python/ert_gui/simulation/run_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ def checkIfRunFinished(self):
return False

def updateRunStatus(self):
self.__status_label.setText(self._run_model.getPhaseName())

if self.checkIfRunFinished():
self.total_progress.setProgress(self._run_model.getProgress())
return

self.total_progress.setProgress(self._run_model.getProgress())

self.__status_label.setText(self._run_model.getPhaseName())

states = self.simulations_tracker.getStates()

if self._run_model.isIndeterminate():
Expand Down Expand Up @@ -310,4 +310,4 @@ def show_detailed_progress(self):
if not self.detailed_progress:
self.detailed_progress = DetailedProgressDialog(self, self.simulations_tracker.getStates())
self.detailed_progress.set_progress(*self._run_model.getDetailedProgress())
self.detailed_progress.show()
self.detailed_progress.show()

0 comments on commit a0d399b

Please sign in to comment.