[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 18 14:02:12 UTC 2020
vcl/source/treelist/treelistbox.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 8c6c03a791f0fa0bbc04bc0656d84e01cf2ae054
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 18 11:14:33 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 18 16:01:39 2020 +0200
ReleaseMouse if disposed during mouse down
Change-Id: I9595e014e639de1b3e71fc9387cea248bb6d74e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96599
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx
index a31f86e81f45..b5db11fc4289 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -1377,6 +1377,9 @@ SvTreeListBox::~SvTreeListBox()
void SvTreeListBox::dispose()
{
+ if (IsMouseCaptured())
+ ReleaseMouse();
+
if( pImpl )
{
pImpl->CallEventListeners( VclEventId::ObjectDying );
More information about the Libreoffice-commits
mailing list