Skip to content

Commit

Permalink
Automatically change sidebar focus when running simulations
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustoMagalhaes authored and andreas-el committed Dec 16, 2024
1 parent c6fe1d6 commit 3e2f7b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ert/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ def post_init(self) -> None:
self.config_file,
self.facade.get_ensemble_size(),
)
experiment_panel.experiment_started.connect(
lambda: self.results_button.setChecked(True)
)
self.central_layout.addWidget(experiment_panel)
self._experiment_panel = experiment_panel
self.central_panels_map["Start simulation"] = self._experiment_panel
Expand Down

0 comments on commit 3e2f7b2

Please sign in to comment.