framework/source/uielement/togglebuttontoolbarcontroller.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 2cd4378177621e82e1b0128b6558f7d69ae9fdb8 Author: Serge Krot <serge.k...@cib.de> AuthorDate: Wed Oct 9 17:15:37 2019 +0200 Commit: Thorsten Behrens <thorsten.behr...@cib.de> CommitDate: Wed Oct 30 17:28:41 2019 +0100 add new command for ToggleButtonToolbarContoller: createPopupMenu Change-Id: I642763d577a7c6ceb8852ea54f592c32864ccfb8 Reviewed-on: https://gerrit.libreoffice.org/80556 Reviewed-by: Serge Krot (CIB) <serge.k...@cib.de> Tested-by: Serge Krot (CIB) <serge.k...@cib.de> (cherry picked from commit b8fe64ed9d815473c15bb0c4b1ef03321c536cf3) Reviewed-on: https://gerrit.libreoffice.org/81640 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx b/framework/source/uielement/togglebuttontoolbarcontroller.cxx old mode 100644 new mode 100755 index fd8873dae765..92818083c1f7 --- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx +++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx @@ -243,6 +243,10 @@ void ToggleButtonToolbarController::executeControlCommand( const css::frame::Con } } } + else if ( rControlCommand.Command == "createPopupMenu" ) + { + createPopupWindow(); + } } IMPL_LINK( ToggleButtonToolbarController, MenuSelectHdl, Menu *, pMenu, bool ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits