diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-08 15:48:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-08 18:10:25 +0100 |
commit | 4586a09c8b12e5a185f022b059f2b9b1ba79d5bb (patch) | |
tree | 822e68902f094fabf25672a420fe02de77457a0f /sc | |
parent | f68ee0c6fca2d0d1be0c9409ae89e46736190d9c (diff) |
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')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 2 |
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")) |