summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-03 09:41:12 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2019-09-03 15:03:08 +0200
commit6aade14148e3d56706b074392ca3569b2a2a8376 (patch)
tree14f3ff03974e9b2aebb7447573bd217747354187 /sc
parentd944746150f1390df91060b60b95c0743b4c4c95 (diff)
Resolves: tdf#127168 dismiss menu before executing sort
so any error dialog which are parented to the calc window are not hidden by the menu which is destined to be dismissed after the sort anyway Change-Id: I7c49737231901de0e61c290fe161d37809d68424 Reviewed-on: https://gerrit.libreoffice.org/78540 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 43553d305f38..413cf36704c0 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -452,8 +452,9 @@ void ScMenuFloatingWindow::executeMenuItem(size_t nPos)
// no action is defined.
return;
- maMenuItems[nPos].mpAction->execute();
terminateAllPopupMenus();
+
+ maMenuItems[nPos].mpAction->execute();
}
void ScMenuFloatingWindow::setSelectedMenuItem(size_t nPos, bool bSubMenuTimer, bool bEnsureSubMenu)