diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-26 14:08:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-27 09:59:09 +0100 |
commit | 85578a6f9ca9dfb1e384d8d1f6edd8219a2ac493 (patch) | |
tree | f582dfb41bef37719a461b9deb37844faf326e5c /toolkit | |
parent | 1c2e5e47a4bdccc6682071c06b9e744bbeac6e52 (diff) |
tdf#129037 disable updates during multiselection
Change-Id: Ie20f73f3b2c5ba975a61a43edb593dffa0a01ddb
Reviewed-on: https://gerrit.libreoffice.org/83774
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 50071403d6e5..56133e58b034 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1732,8 +1732,13 @@ void VCLXListBox::selectItemsPos( const css::uno::Sequence<sal_Int16>& aPosition if ( bChanged ) { + bool bOrigUpdateMode = pBox->IsUpdateMode(); + pBox->SetUpdateMode(false); + pBox->SelectEntriesPos(aPositionVec, bSelect); + pBox->SetUpdateMode(bOrigUpdateMode); + // VCL doesn't call select handler after API call. // ImplCallItemListeners(); |