diff options
-rw-r--r-- | vcl/source/app/salvtables.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index fb010d50c55a..02f07418a44a 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -2496,6 +2496,10 @@ IMPL_LINK(SalInstanceTreeView, ToggleHdl, SvLBoxButtonData*, pData, void) SvTreeListEntry* pEntry = pData->GetActEntry(); SvLBoxButton* pBox = pData->GetActBox(); + // tdf#122874 Select the row, calling SelectHdl, before handling + // the toggle + m_xTreeView->Select(pEntry, true); + for (int i = 1, nCount = pEntry->ItemCount(); i < nCount; ++i) { SvLBoxItem& rItem = pEntry->GetItem(i); |