]> git.lyx.org Git - lyx.git/commit
Fix display of bindings for StaticMenuButton
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 Jul 2022 16:39:04 +0000 (18:39 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 Jul 2022 18:58:06 +0000 (20:58 +0200)
commit7823d3b01b1b5a2c9ab639d08cbe2b8097f5e073
treef28bc0856dd847956e8d192184ab4b588fe4d189
parent23a27e90ba0a1588123565e1cc039964889a4b0d
Fix display of bindings for StaticMenuButton

This requires to add a parameter to GuiToolbar::addItem so that it is
possble to make a difference between toolbar buttons and menu items.

The long-term solution is to rely on the menu backend for such things.

Fixes bug #12004.
src/frontends/qt/GuiToolbar.cpp
src/frontends/qt/GuiToolbar.h