From e101b824faf9797bdc3f379289b921e8d4580643 Mon Sep 17 00:00:00 2001 From: Andreas Eknes Lie Date: Fri, 13 Dec 2024 15:28:33 +0100 Subject: [PATCH] Set simulation button default selected --- src/ert/gui/main_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ert/gui/main_window.py b/src/ert/gui/main_window.py index 497e46a364f..bacdd7fc127 100644 --- a/src/ert/gui/main_window.py +++ b/src/ert/gui/main_window.py @@ -118,7 +118,9 @@ def __init__( self._experiment_panel: ExperimentPanel | None = None self._plot_window: PlotWindow | None = None self._manage_experiments_panel: ManageExperimentsPanel | None = None - self._add_sidebar_button("Start simulation", QIcon("img:library_add.svg")) + self._add_sidebar_button( + "Start simulation", QIcon("img:library_add.svg") + ).click() plot_button = self._add_sidebar_button("Create plot", QIcon("img:timeline.svg")) plot_button.setToolTip("Right click to open external window") self._add_sidebar_button("Manage experiments", QIcon("img:build_wrench.svg"))