[Libreoffice-commits] core.git: Branch 'feature/cib_contract3756' - framework/source
Serge Krot (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 9 15:18:36 UTC 2019
framework/source/uielement/togglebuttontoolbarcontroller.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit b8fe64ed9d815473c15bb0c4b1ef03321c536cf3
Author: Serge Krot <Serge.Krot at cib.de>
AuthorDate: Wed Oct 9 17:15:37 2019 +0200
Commit: Serge Krot (CIB) <Serge.Krot at cib.de>
CommitDate: Wed Oct 9 17:17:33 2019 +0200
add new command for ToggleButtonToolbarContoller: createPopupMenu
Change-Id: I642763d577a7c6ceb8852ea54f592c32864ccfb8
Reviewed-on: https://gerrit.libreoffice.org/80556
Reviewed-by: Serge Krot (CIB) <Serge.Krot at cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot at 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 )
More information about the Libreoffice-commits
mailing list