diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-01-29 15:09:59 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-02-08 07:24:50 +0100 |
commit | 48a8901a205000e9878c7ee5b4fb26e07ea0a607 (patch) | |
tree | 5710154a0637b0a5d59a29143b3d8cfd308dc933 /pyuno/Makefile | |
parent | 70a1d5258648a442525bd0b365ce92763f2a79fb (diff) |
tdf#139767 fix crash caused by the selection listener
When development tools window was closed, the selection listener
was still listening and tried to change the selection because it
was never unregistered from the selection supplier. This caused
a crash as it tried to change the object on an non existing
tree view.
This change modifies the selection change listener so that is adds
itself to the selection supplier when constructed and removes
itself from the selection supplier, when the development tools
window is disposed.
Change-Id: Ifcb56aaee8f3c5c71ec609e68ffc78573f1b4179
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110121
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'pyuno/Makefile')
0 files changed, 0 insertions, 0 deletions