summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/cctrl/checklistmenu.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-08 15:48:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-08 18:10:25 +0100
commit4586a09c8b12e5a185f022b059f2b9b1ba79d5bb (patch)
tree822e68902f094fabf25672a420fe02de77457a0f /sc/source/ui/cctrl/checklistmenu.cxx
parentonly autopopup on mouse hover, not keyboard traversal (diff)
downloadcore-4586a09c8b12e5a185f022b059f2b9b1ba79d5bb.tar.gz
core-4586a09c8b12e5a185f022b059f2b9b1ba79d5bb.zip
Related: tdf#144410 excessive "resize" triggered
so changing cursor pos becomes hit or miss in the dropdown arrow shown case Change-Id: I6e08a022041667fe8368b2cb09289a598957eb87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126551 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, 2 insertions, 0 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 7a959023d3e0..e1c68406b8db 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -144,6 +144,8 @@ void ScCheckListMenuControl::addSeparator()
IMPL_LINK(ScCheckListMenuControl, TreeSizeAllocHdl, const Size&, rSize, void)
{
+ if (maAllocatedSize == rSize)
+ return;
maAllocatedSize = rSize;
SetDropdownPos();
if (!mnAsyncSetDropdownPosId && Application::GetToolkitName().startsWith("gtk"))