From 7b3016bacfda27175ce1640e596abc1ff6475fd9 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Sat, 4 Feb 2017 17:51:43 +0100 Subject: [PATCH] Removed recent change since it caused havoc with themes in progress. If this causes a memory leak issue it should be solved elsewhere. --- RetroFE/Source/Graphics/Page.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/RetroFE/Source/Graphics/Page.cpp b/RetroFE/Source/Graphics/Page.cpp index 375a0b5..1fc1229 100644 --- a/RetroFE/Source/Graphics/Page.cpp +++ b/RetroFE/Source/Graphics/Page.cpp @@ -523,10 +523,7 @@ bool Page::popCollection() playlist_ = info->playlist; playlistChange(); - // Remove references to the collection we're about to delete and pop the menu menuDepth_--; - activeMenu_->collectionName = ""; - activeMenu_->setItems(NULL); activeMenu_ = menus_[menuDepth_ - 1]; for(std::vector::iterator it = LayerComponents.begin(); it != LayerComponents.end(); ++it)