Kaydet (Commit) de1bb087 authored tarafından Kshitij Pathania's avatar Kshitij Pathania Kaydeden (comit) Samuel Mehrbrodt

tdf#100370 Selection icon now working properly on mouse click

Change-Id: I45786ab3eb0b93d2f987d83156011b768869a414
Reviewed-on: https://gerrit.libreoffice.org/48279Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst d68df784
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment