mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps] VariableBoxController: when disappearing, tidy the layouts from
the TreePool
This commit is contained in:
@@ -196,6 +196,10 @@ void VariableBoxController::ContentViewController::resetPage() {
|
||||
|
||||
void VariableBoxController::ContentViewController::viewDidDisappear() {
|
||||
m_selectableTableView.deselectTable();
|
||||
// Tidy the layouts used to display the VariableBoxController to clean TreePool
|
||||
for (int i = 0; i < k_maxNumberOfDisplayedRows; i++) {
|
||||
m_leafCells[i].setLayoutRef(LayoutRef());
|
||||
}
|
||||
ViewController::viewDidDisappear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user