summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-11-12 14:48:35 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-11-26 10:34:10 +0100
commit82d8d76b8a6bb0d7b6585411666f5421a99b6d34 (patch)
tree0d4b23e33ca1627c3c646cc5d5f0d1bb269b4d42 /sc
parente013d21d80893279e9f4148e5e55fae63ab028f2 (diff)
jsdialog: handle close for autofilter menu
Change-Id: Iea30bac99e521bc629999e7fd3cb1c13422704e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106659 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 1c06b33c59c0..f6834aaff790 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -396,6 +396,9 @@ void ScCheckListMenuControl::StartPopupMode(const tools::Rectangle& rRect, Float
void ScCheckListMenuControl::terminateAllPopupMenus()
{
+ if (comphelper::LibreOfficeKit::isActive())
+ NotifyCloseLOK();
+
EndPopupMode();
ScCheckListMenuWindow* pParentMenu = mxFrame->GetParentMenu();
if (pParentMenu)
@@ -1383,7 +1386,7 @@ void ScCheckListMenuControl::NotifyCloseLOK()
if (pNotifier)
{
tools::JsonWriter aJsonWriter;
- aJsonWriter.put("jsontype", "dockingwindow");
+ aJsonWriter.put("jsontype", "autofilter");
aJsonWriter.put("action", "close");
const std::string message = aJsonWriter.extractAsStdString();