From f68ee0c6fca2d0d1be0c9409ae89e46736190d9c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 8 Dec 2021 15:09:24 +0000 Subject: only autopopup on mouse hover, not keyboard traversal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4ec5c5c1d5a450a0d8531907da85216000cd6c4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126547 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/source/ui/cctrl/checklistmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index a27fb53c09a4..7a959023d3e0 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -357,7 +357,7 @@ void ScCheckListMenuControl::selectMenuItem(size_t nPos, bool bSubMenuTimer) if (bSubMenuTimer) { - if (maMenuItems[nPos].mxSubMenuWin) + if (maMenuItems[nPos].mxSubMenuWin && mxMenu->changed_by_hover()) { ScListSubMenuControl* pSubMenu = maMenuItems[nPos].mxSubMenuWin.get(); queueLaunchSubMenu(nPos, pSubMenu); -- cgit