| commit | a52335fd454ca23db5969f661dc7cf8b22bbbfeb | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Dec 08 12:02:32 2022 +0000 |
| committer | Eike Rathke <erack@redhat.com> | Thu Dec 08 16:36:09 2022 +0000 |
| tree | df9dd6517fbfe3a53df405e07f811c6ed337ff19 | |
| parent | 0a89c1d929dfef0b178f6911ec8d7b1efd0c34b5 [diff] |
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 <erack@redhat.com>
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 8338576..82e7488 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; }