From 3e2f7b2e567c42d5602c71718574e363e689d98c Mon Sep 17 00:00:00 2001 From: AugustoMagalhaes Date: Mon, 16 Dec 2024 12:28:40 +0100 Subject: [PATCH] Automatically change sidebar focus when running simulations --- src/ert/gui/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ert/gui/main_window.py b/src/ert/gui/main_window.py index bacdd7fc127..ad4106da5c8 100644 --- a/src/ert/gui/main_window.py +++ b/src/ert/gui/main_window.py @@ -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