sc/source/ui/cctrl/checklistmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a52335fd454ca23db5969f661dc7cf8b22bbbfeb Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Dec 8 12:02:32 2022 +0000 Commit: Eike Rathke <er...@redhat.com> CommitDate: Thu Dec 8 16:36:09 2022 +0000 Resolves: tdf#152325 initial "select" may not set the cursor to that pos but setting the cursor will 'select' for the default "single" selection mode. Change-Id: Ib7c3dfcce72bad69741b5bc3eb159a6ed3bc8142 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143723 Tested-by: Jenkins Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 833857614e72..82e7488c9804 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1345,7 +1345,7 @@ size_t ScCheckListMenuControl::initMembers(int nMaxMemberWidth) } if (nVisMemCount) - mpChecks->select(0); + mpChecks->set_cursor(0); return nVisMemCount; }