Kaydet (Commit) 5f447bb0 authored tarafından Andras Timar's avatar Andras Timar

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
üst e9566f27
...@@ -3698,8 +3698,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) ...@@ -3698,8 +3698,6 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
rSh.IsObjSelectable( aDocPos ) ) && !lcl_urlOverBackground( rSh, aDocPos ) ) rSh.IsObjSelectable( aDocPos ) ) && !lcl_urlOverBackground( rSh, aDocPos ) )
{ {
SwMvContext aMvContext( &rSh ); SwMvContext aMvContext( &rSh );
if( !rSh.IsFrmSelected() )
rSh.GotoNextFly();
rSh.EnterSelFrmMode(); rSh.EnterSelFrmMode();
bCallBase = false; bCallBase = false;
} }
......
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