Skip to content

Commit

Permalink
Remove about button from help panel
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Jan 2, 2024
1 parent 827afc2 commit 4120d3a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/ert/gui/suggestor/suggestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
QWidget,
)

from ert.gui.about_dialog import AboutDialog

from ._colors import BLUE_TEXT
from ._suggestor_message import SuggestorMessage

Expand All @@ -30,12 +28,6 @@ def _clicked_help_button(menu_label: str, link: str):
webbrowser.open(link)


def _clicked_about_button(about_dialog):
logger = logging.getLogger(__name__)
logger.info("Pressed help button About")
about_dialog.show()


LIGHT_GREY = "#f7f7f7"
MEDIUM_GREY = "#eaeaea"
HEAVY_GREY = "#dcdcdc"
Expand Down Expand Up @@ -175,15 +167,6 @@ def _help_panel(self, help_links: Dict[str, str]):
)
help_buttons_layout.addWidget(button)

about_button = QPushButton("About", parent=self)
about_button.setStyleSheet(LINK_STYLE)
about_button.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
about_button.setObjectName("about_button")
help_buttons_layout.addWidget(about_button)
help_buttons_layout.addStretch(-1)

diag = AboutDialog(self)
about_button.clicked.connect(lambda: _clicked_about_button(diag))
return help_button_frame

def _problem_area(self, errors, warnings, deprecations):
Expand Down

0 comments on commit 4120d3a

Please sign in to comment.