Skip to content

Commit

Permalink
gui: use correct index for EnableLongHelp()
Browse files Browse the repository at this point in the history
Fixes a regression introduced by
OSGeo@f99780c

Closes OSGeo#4091
  • Loading branch information
nilason committed Jul 26, 2024
1 parent cd0687f commit 9568575
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gui/wxpython/gui_core/toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ def EnableLongHelp(self, enable):
if tool[0][0] == "": # separator
continue
internal_label = tool[0][0]
elif tool[0] == "": # separator
continue
internal_label = tool[0]
else:
if tool[0] == "": # separator
continue
internal_label = tool[0]

label = vars(self.widget)[internal_label]
if enable:
Expand Down

0 comments on commit 9568575

Please sign in to comment.