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;
}