We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc78c7 commit 548f2a7Copy full SHA for 548f2a7
src/ert/gui/main_window.py
@@ -126,7 +126,9 @@ def select_central_widget(self) -> None:
126
)
127
self.central_layout.addWidget(self._manage_experiments_panel)
128
129
- if index_name == "Create plot" and not self._plot_window:
+ if index_name == "Create plot":
130
+ if self._plot_window:
131
+ self._plot_window.close()
132
self._plot_window = PlotWindow(self.config_file, self)
133
self.central_layout.addWidget(self._plot_window)
134
self.central_panels_map["Create plot"] = self._plot_window
0 commit comments