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:
@@ -304,10 +304,7 @@ GUIKeyboard::GUIKeyboard(xml_node<>* node)
|
||||
|
||||
GUIKeyboard::~GUIKeyboard()
|
||||
{
|
||||
int layoutindex;
|
||||
|
||||
for (layoutindex=0; layoutindex<MAX_KEYBOARD_LAYOUTS; layoutindex++)
|
||||
if (keyboardImg[layoutindex]) delete keyboardImg[layoutindex];
|
||||
}
|
||||
|
||||
int GUIKeyboard::Render(void)
|
||||
|
||||
Reference in New Issue
Block a user