Fix the wrong guardian for the build tooltip when bind button
@@ -211,7 +211,7 @@ class ActionManager:
)
button.clicked.connect(lambda: self.trigger(name))
- if name in self._shortcuts:
+ if name in self._actions:
button.setToolTip(
f'{self._build_tooltip(name)} {extra_tooltip_text}'
)
