Remove deletes for images from scroll list GUI Elements
Resources are deleted by ~PageSet and do not need to be deleted by the the scrollable list elements. This fixes a crash when reloading the theme. Also remove some deletes for items that should not be deleted in button and input GUI elements. Change-Id: Ie1c1b85c81c10f648d085746a5fdba6220468a5f
This commit is contained in:
@@ -259,9 +259,6 @@ GUIScrollList::GUIScrollList(xml_node<>* node) : GUIObject(node)
|
||||
|
||||
GUIScrollList::~GUIScrollList()
|
||||
{
|
||||
delete mHeaderIcon;
|
||||
delete mBackground;
|
||||
delete mFont;
|
||||
}
|
||||
|
||||
void GUIScrollList::SetMaxIconSize(int w, int h)
|
||||
|
||||
Reference in New Issue
Block a user