| commit | 417f6fde55a7fa59f27aa9a79132e5b2cc615270 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Dec 08 12:02:32 2022 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu Dec 08 13:58:01 2022 +0000 |
| tree | 8c8cf5737bf176b66d315dcdcd174275b03cd7da | |
| parent | ebc7e13c0a79dbc5f21e78bcd9bb63a58c585f4a [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/+/143817 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index e0808e1..7506f7e 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1374,7 +1374,7 @@ size_t ScCheckListMenuControl::initMembers(int nMaxMemberWidth) } if (nVisMemCount) mpChecks->select(0); mpChecks->set_cursor(0); return nVisMemCount; }