summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/cctrl/checklistmenu.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-08 15:09:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-08 17:37:54 +0100
commitf68ee0c6fca2d0d1be0c9409ae89e46736190d9c (patch)
treef618bd9a4e4f919710960e758ecbb9054ffe5428 /sc/source/ui/cctrl/checklistmenu.cxx
parentuse more OUStringLiteral in various (diff)
downloadcore-f68ee0c6fca2d0d1be0c9409ae89e46736190d9c.tar.gz
core-f68ee0c6fca2d0d1be0c9409ae89e46736190d9c.zip
only autopopup on mouse hover, not keyboard traversal
Change-Id: I4ec5c5c1d5a450a0d8531907da85216000cd6c4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126547 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/cctrl/checklistmenu.cxx')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx2
1 files changed, 1 insertions, 1 deletions
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);