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 4b859e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/toolbars.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def EnableLongHelp(self, enable):
internal_label = tool[0][0]
elif tool[0] == "": # separator
continue
internal_label = tool[0]
internal_label = tool[0][0]

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

0 comments on commit 4b859e5

Please sign in to comment.