diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-12 14:48:35 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-26 10:34:10 +0100 |
commit | 82d8d76b8a6bb0d7b6585411666f5421a99b6d34 (patch) | |
tree | 0d4b23e33ca1627c3c646cc5d5f0d1bb269b4d42 /sc | |
parent | e013d21d80893279e9f4148e5e55fae63ab028f2 (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.cxx | 5 |
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(); |