Properly delete all GUIObjects and pages on theme reload

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: I8df41877f8f4439a434becfd47a9914b50649b34
This commit is contained in:
Vojtech Bocek
2014-02-08 00:32:31 +01:00
parent ede51c528e
commit bfb6334ca8
4 changed files with 31 additions and 7 deletions

View File

@@ -216,7 +216,6 @@ GUIInput::~GUIInput()
if (mInputText) delete mInputText;
if (mBackground) delete mBackground;
if (mCursor) delete mCursor;
if (mFont) delete mFont;
if (mAction) delete mAction;
}