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/78539 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user