Skip to content

Commit

Permalink
Fix exception on load
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 16, 2024
1 parent cdd147f commit ac88657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firstaid/debugwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ 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 = QPushButton(self.tr("Open in Editor"))
self.open_external_editor_button.setIcon(
QgsApplication.getThemeIcon("console/iconShowEditorConsole.svg")
)
Expand All @@ -456,7 +456,7 @@ def __init__(self, exc_info, parent=None):

self.horz_layout.addWidget(self.clear_history_button)
self.horz_layout.addWidget(self.save_output_button)
if self._source_editor_widget:
if self.debug_widget._source_editor_widget:
self.horz_layout.addWidget(self.open_external_editor_button)
self.horz_layout.addWidget(self.button_box)

Expand Down

0 comments on commit ac88657

Please sign in to comment.