Skip to content

Commit

Permalink
fix typos in _toggle_feature_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AnniekStok committed Sep 16, 2024
1 parent 26659d9 commit 56eae93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self):
def _toggle_feature_mode(self, event=None) -> None:
"""Toggle display mode"""

if self.show_area_radio_button.enabled: # if button is disabled, toggle is not allowed
if self.show_area_radio.isEnabled: # if button is disabled, toggle is not allowed
if self.feature == "area":
self._set_feature("tree")
self.show_tree_radio.setChecked(True)
Expand Down

0 comments on commit 56eae93

Please sign in to comment.