Remove double call to GetFirstVisibleItem()
This commit is contained in:
parent
40d3b66807
commit
36778a1e0d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue