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-12-01 11:03:42 +0100 |
commit | 5c870e6ec5753c86de7c27292575a5969e792a01 (patch) | |
tree | 1c536f894dc0f8023af32047f9835fa206c0c0aa /sc | |
parent | a4b7f16cb2cf433eec58a06404b495ab9077d1fa (diff) |
jsdialog: handle close for autofilter menu
Change-Id: Iea30bac99e521bc629999e7fd3cb1c13422704e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106908
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
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 452e7c1eb61a..98421847ccd6 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -395,6 +395,9 @@ void ScCheckListMenuControl::StartPopupMode(const tools::Rectangle& rRect, Float void ScCheckListMenuControl::terminateAllPopupMenus() { + if (comphelper::LibreOfficeKit::isActive()) + NotifyCloseLOK(); + EndPopupMode(); ScCheckListMenuWindow* pParentMenu = mxFrame->GetParentMenu(); if (pParentMenu) @@ -1355,7 +1358,7 @@ void ScCheckListMenuControl::NotifyCloseLOK() { std::stringstream aStream; boost::property_tree::ptree aTree; - aTree.put("jsontype", "dockingwindow"); + aTree.put("jsontype", "autofilter"); aTree.put("action", "close"); boost::property_tree::write_json(aStream, aTree); |