sc/source/ui/cctrl/checklistmenu.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4586a09c8b12e5a185f022b059f2b9b1ba79d5bb Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Dec 8 15:48:40 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Dec 8 18:10:25 2021 +0100 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 <caol...@redhat.com> 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"))