[Libreoffice-commits] core.git: toolkit/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 27 09:01:27 UTC 2019
toolkit/source/awt/vclxwindows.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 85578a6f9ca9dfb1e384d8d1f6edd8219a2ac493
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Nov 26 14:08:46 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Nov 27 09:59:09 2019 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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();
More information about the Libreoffice-commits
mailing list