summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-04-06 09:52:34 +0200
committerAndras Timar <andras.timar@collabora.com>2022-04-11 11:15:32 +0200
commit4527a789d63525b226ae31f7874e9f216dcdde0c (patch)
tree9eb1316c3b699dbc053c1b1105b095e2b223bb0a /include
parentace42fde4a7e15b9a6da8cbf40d34cd6141da781 (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>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/jsdialog/executor.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/jsdialog/executor.hxx b/include/vcl/jsdialog/executor.hxx
index 149df76d0b1c..0f8fb821e2bd 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