svx/source/stbctrls/selctrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit de1bb0878fc7d7eb6071ec94d770712648013075 Author: Kshitij Pathania <kshitijpatha...@gmail.com> Date: Mon Jan 22 00:32:22 2018 +0530 tdf#100370 Selection icon now working properly on mouse click Change-Id: I45786ab3eb0b93d2f987d83156011b768869a414 Reviewed-on: https://gerrit.libreoffice.org/48279 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx index 6a59e61d4864..587daf9abf38 100644 --- a/svx/source/stbctrls/selctrl.cxx +++ b/svx/source/stbctrls/selctrl.cxx @@ -107,7 +107,7 @@ bool SvxSelectionModeControl::MouseButtonDown( const MouseEvent& rEvt ) SelectionTypePopup aPop(mnState); StatusBar& rStatusbar = GetStatusBar(); - if (aPop.Execute(&rStatusbar, rEvt.GetPosPixel())) + if (rEvt.IsMiddle() && aPop.Execute(&rStatusbar, rEvt.GetPosPixel())) { sal_uInt16 nNewState = aPop.GetState(); if ( nNewState != mnState ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits