Skip to content

Commit

Permalink
Fix flaky test gui plotter button state
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed Nov 28, 2023
1 parent 70d07bf commit 35d1984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ert/gui/tools/plot/plot_case_selection_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def __init__(self, case_names):
self.__add_case_button.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
self.__add_case_button.setText("Add case to plot")
self.__add_case_button.setIcon(QIcon("img:add_circle_outlined.svg"))
self.__add_case_button.setEnabled(len(self._cases) > 0)
self.__add_case_button.clicked.connect(self.addCaseSelector)

add_button_layout.addStretch()
Expand Down

0 comments on commit 35d1984

Please sign in to comment.