vcl/source/treelist/treelistbox.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 8c6c03a791f0fa0bbc04bc0656d84e01cf2ae054 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jun 18 11:14:33 2020 +0100 Commit: Caolán McNamara <caol...@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 <caol...@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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits