mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] VariableBoxController: pop the empty controller before
disappearing
This commit is contained in:
@@ -173,6 +173,9 @@ bool VariableBoxController::displayEmptyController() {
|
||||
}
|
||||
|
||||
void VariableBoxController::viewDidDisappear() {
|
||||
if (isDisplayingEmptyController()) {
|
||||
pop();
|
||||
}
|
||||
// Tidy the layouts used to display the VariableBoxController to clean TreePool
|
||||
for (int i = 0; i < k_maxNumberOfDisplayedRows; i++) {
|
||||
m_leafCells[i].setLayout(Layout());
|
||||
|
||||
Reference in New Issue
Block a user