summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-10-28 12:13:55 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-30 13:41:14 +0000
commit353dff99da15e1dfac96781b4fd472e4ba523bb8 (patch)
tree4ea2a252599a8828b958bd9988f59e246f7cf3bf
parent81e4dbe1adf196ee20f1a4bfbc50b54abfc79f4b (diff)
fdo#37960 fix shift+click to select multiple drawings
I simply didn't get the logic behind calling GotoNextFly(). It caused not only this bug. For example Ctrl+click on a background text frame did not select the text frame, but an image on the previous page. Change-Id: I85ccbbda2f324de55417d6199b4abe79e59bf295 Reviewed-on: https://gerrit.libreoffice.org/12132 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sw/source/core/uibase/docvw/edtwin.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/uibase/docvw/edtwin.cxx b/sw/source/core/uibase/docvw/edtwin.cxx
index e35b68877058..f78b2fede27e 100644
--- a/sw/source/core/uibase/docvw/edtwin.cxx
+++ b/sw/source/core/uibase/docvw/edtwin.cxx
@@ -3664,8 +3664,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
rSh.IsObjSelectable( aDocPos ) ) && !lcl_urlOverBackground( rSh, aDocPos ) )
{
SwMvContext aMvContext( &rSh );
- if( !rSh.IsFrmSelected() )
- rSh.GotoNextFly();
rSh.EnterSelFrmMode();
bCallBase = false;
}