mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Remove double call to GetFirstVisibleItem()
This commit is contained in:
1 parent
40d3b66807
commit
36778a1e0d
1 file changed
+1
-1
@@ -2502,7 +2502,7 @@ void Tab::rebuild_page_tree()
|
|||||||
// this is triggered on first load, so we don't disable the sel change event
|
// this is triggered on first load, so we don't disable the sel change event
|
||||||
auto item = m_treectrl->GetFirstVisibleItem();
|
auto item = m_treectrl->GetFirstVisibleItem();
|
||||||
if (item) {
|
if (item) {
|
||||||
m_treectrl->SelectItem(m_treectrl->GetFirstVisibleItem());//! (treectrl->GetFirstChild(rootItem));
|
m_treectrl->SelectItem(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Thaw();
|
// Thaw();
|
||||||
|
|||||||
Reference in new issue
Block a user