diff options
author | Martin van Zijl <martin.vanzijl@gmail.com> | 2018-12-12 13:03:58 +1300 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-02-01 08:40:24 +0100 |
commit | 31ba2a6bdecb81545d9b871a1a9394e5d7a3f2c4 (patch) | |
tree | 005a1f3ff9987385ada45990fb4c540bd6348e49 /sw/source | |
parent | a7082e565d7f8bccc822b2658592a4afbbf88d03 (diff) |
tdf#41202 allow decrease selection with shift-click in writer
Change-Id: Ic9522af1d3f41188f6feb31e68737fba83b3c6d4
Reviewed-on: https://gerrit.libreoffice.org/64995
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 201d2b2348d8..c7910ec86c31 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -3625,11 +3625,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) if( !bOverSelect ) bOverURLGrf = bOverSelect = nullptr != rSh.IsURLGrfAtPos( aDocPos ); - if ( !bOverSelect ) - { - MoveCursor( rSh, aDocPos, bOnlyText, bLockView ); - bCallBase = false; - } + MoveCursor( rSh, aDocPos, bOnlyText, bLockView ); + bCallBase = false; + if (!bOverURLGrf && !bExecDrawTextLink && !bOnlyText) { const SelectionType nSelType = rSh.GetSelectionType(); |