summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-11 20:01:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-12 20:02:40 +0200
commitfc0cc8fd1ae92eed355e8569fd5ba2fa7cf0cc40 (patch)
treea5fcdde021c48b0c878ba21aefc1d5a38068553e /vcl
parent05664c6ffae062a19ff3aa3e0949354d2586919d (diff)
don't skip first column on toggle column check anymore
Change-Id: Id9083ec432cba556538605692021d8c348322a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96164 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 786744707342..26dd0c585c1a 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -4782,7 +4782,7 @@ IMPL_LINK(SalInstanceTreeView, ToggleHdl, SvLBoxButtonData*, pData, void)
// additionally set the cursor into the row the toggled element is in
m_xTreeView->pImpl->m_pCursor = pEntry;
- for (int i = 1, nCount = pEntry->ItemCount(); i < nCount; ++i)
+ for (int i = 0, nCount = pEntry->ItemCount(); i < nCount; ++i)
{
SvLBoxItem& rItem = pEntry->GetItem(i);
if (&rItem == pBox)