Skip to content

Commit

Permalink
Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jun 13, 2024
1 parent 839f0dd commit 7721fbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firstaid/debugwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ def __init__(self, exc_info, parent=None):
self.clear_history_button.clicked.connect(self.clear_console_history)

self.open_external_editor_button = QPushButton(self.tr("Open Text Editor"))
self.open_external_editor_button.setIcon(
QgsApplication.getThemeIcon("console/iconShowEditorConsole.svg")
)
self.open_external_editor_button.clicked.connect(self.open_in_external_editor)

self.save_output_button = QPushButton(self.tr("Copy Details"))
Expand Down

0 comments on commit 7721fbb

Please sign in to comment.