[Libreoffice-commits] core.git: sw/source

Martin van Zijl (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 12 09:19:47 UTC 2020


 sw/source/uibase/docvw/edtwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1675f5c0f600c817b0b9a0ab0a79ae32c43e5b93
Author:     Martin van Zijl <martin.vanzijl at gmail.com>
AuthorDate: Thu Sep 10 11:44:05 2020 +1200
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Sat Sep 12 11:19:07 2020 +0200

    tdf#41202 writer: allow shift+click to decrease selection
    
    Change-Id: I8f0f03a3ea0eafda166d19a5cd9fa24e97345a69
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102399
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 279bf08127a6..508fac7d2fd1 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -3735,7 +3735,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
                 if( !bOverSelect )
                     bOverURLGrf = bOverSelect = nullptr != rSh.IsURLGrfAtPos( aDocPos );
 
-                if ( !bOverSelect )
+                if ( !bOverSelect || rSh.IsInSelect() )
                 {
                     MoveCursor( rSh, aDocPos, bOnlyText, bLockView );
                     bCallBase = false;


More information about the Libreoffice-commits mailing list