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:
@@ -214,8 +214,6 @@ GUIInput::GUIInput(xml_node<>* node)
|
||||
GUIInput::~GUIInput()
|
||||
{
|
||||
if (mInputText) delete mInputText;
|
||||
if (mBackground) delete mBackground;
|
||||
if (mCursor) delete mCursor;
|
||||
if (mAction) delete mAction;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user