diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-04-06 09:52:34 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-05-19 09:29:40 +0200 |
commit | 1e9c8a6336146dceeeb81e682a6415f3527517ac (patch) | |
tree | ea2e08942b44d5689a715fa1b2ebc63345b8ba65 /include/vcl | |
parent | 2f829436bc08fc61371324a2693dca815baa47b5 (diff) |
jsdialog: close popup correctly
call popdown so we will mark popup as closed in DockingManager
this fixes crash when trying to open autofilter popup second time
Change-Id: I9f2db6fe284d9b9770c20dea4b8a4054524a998b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132619
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mert Tumer <mert.tumer@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134575
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/jsdialog/executor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/jsdialog/executor.hxx b/include/vcl/jsdialog/executor.hxx index 39c8c77f3a24..3bf7f91e1a69 100644 --- a/include/vcl/jsdialog/executor.hxx +++ b/include/vcl/jsdialog/executor.hxx @@ -55,7 +55,7 @@ public: rSpinButton.signal_value_changed(); } - static void trigger_closed(weld::Popover& rPopover) { rPopover.signal_closed(); } + static void trigger_closed(weld::Popover& rPopover) { rPopover.popdown(); } }; namespace jsdialog |