Skip to content

Commit 3e2f7b2

Browse files
AugustoMagalhaesandreas-el
authored andcommitted
Automatically change sidebar focus when running simulations
1 parent c6fe1d6 commit 3e2f7b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ert/gui/main_window.py

+3
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ def post_init(self) -> None:
237237
self.config_file,
238238
self.facade.get_ensemble_size(),
239239
)
240+
experiment_panel.experiment_started.connect(
241+
lambda: self.results_button.setChecked(True)
242+
)
240243
self.central_layout.addWidget(experiment_panel)
241244
self._experiment_panel = experiment_panel
242245
self.central_panels_map["Start simulation"] = self._experiment_panel

0 commit comments

Comments
 (0)