diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-12-10 18:08:14 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-12-11 13:49:26 +0100 |
commit | 13966121b49369950f2c214f3ab109fbad0386ad (patch) | |
tree | 3440dc377ba5650dcbc0dcae21bf3cd21daedc67 /vcl/source | |
parent | 13eb488c91e36f4a4e5bb4a4410d6c5284ffd824 (diff) |
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@cib.de>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/treelist/svimpbox.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); } |