summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-12-10 18:08:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-12-12 17:40:01 +0100
commit9ed66c205d57093dccafa3d16fba7ddd0a109ba6 (patch)
tree3fa8bb6d7868d9eaadf8ea6666cabbf24bb9517d /vcl
parent87748e368d68ce6a69496a3beeeabb8acf8ebe7d (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> (cherry picked from commit 13966121b49369950f2c214f3ab109fbad0386ad) Reviewed-on: https://gerrit.libreoffice.org/84947 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/svimpbox.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index e2dca323dd26..75b482ecaa0b 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -2071,7 +2071,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 );
}