mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 22:46:00 +08:00
Remove double call to GetFirstVisibleItem()
This commit is contained in:
parent
40d3b66807
commit
36778a1e0d
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user