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

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 11 12:50:31 UTC 2019


 vcl/source/treelist/svimpbox.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 13966121b49369950f2c214f3ab109fbad0386ad
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Dec 10 18:08:14 2019 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Dec 11 13:49:26 2019 +0100

    tdf#128824 Keep multiselection in style list on right click
    
    Change-Id: I196f8c7d3a1a0b3267498f6cde55069ba3a60523
    Reviewed-on: https://gerrit.libreoffice.org/84882
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index 7e2ce1cb086b..b09cb6bc9d1a 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -2070,7 +2070,8 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt )
             return;
         // Inplace-Editing?
     }
-    if ( m_aSelEng.GetSelectionMode() != SelectionMode::NONE )
+    if ( m_aSelEng.GetSelectionMode() != SelectionMode::NONE
+         && !rMEvt.IsRight() ) // tdf#128824
         m_aSelEng.SelMouseButtonDown( rMEvt );
 }
 


More information about the Libreoffice-commits mailing list