diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-08 15:09:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-08 17:37:54 +0100 |
commit | f68ee0c6fca2d0d1be0c9409ae89e46736190d9c (patch) | |
tree | f618bd9a4e4f919710960e758ecbb9054ffe5428 /sc | |
parent | c92c0776829aaa04b924bf970396a312994af8d0 (diff) |
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')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 2 |
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); |