Remove double call to GetFirstVisibleItem()

This commit is contained in:
Sijmen Schoon 2019-03-22 23:08:13 +01:00
parent 40d3b66807
commit 36778a1e0d

View file

@ -2502,7 +2502,7 @@ void Tab::rebuild_page_tree()
// this is triggered on first load, so we don't disable the sel change event
auto item = m_treectrl->GetFirstVisibleItem();
if (item) {
m_treectrl->SelectItem(m_treectrl->GetFirstVisibleItem());//! (treectrl->GetFirstChild(rootItem));
m_treectrl->SelectItem(item);
}
}
// Thaw();