1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Remove double call to GetFirstVisibleItem()

This commit is contained in:
Sijmen Schoon
2019-03-22 23:08:13 +01:00
parent 40d3b66807
commit 36778a1e0d
+1 -1
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();