Remove scrollable page from gsr page, fix crash when navigating back

This commit is contained in:
dec05eba
2024-08-24 14:08:25 +02:00
parent 54c60d9a18
commit b8e6949dfb
13 changed files with 136 additions and 88 deletions

View File

@@ -21,7 +21,7 @@ public:
}
// Might not remove the data immediately if inside for_each loop.
// In that case the item is remove at the end of the loop.
// In that case the item is removed at the end of the loop.
void remove(PointerType item_to_remove) {
if(for_each_depth == 0)
remove_item(item_to_remove);