mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed crash when opening and closing main menu consecutively
This commit is contained in:
parent
d5a91f36dc
commit
a021515385
1
HISTORY
1
HISTORY
@ -210,4 +210,5 @@ Version 0.3.0
|
||||
|
||||
- checking setup conditions for viewelements
|
||||
- fixed FadeOut bug
|
||||
- fixed crash when opening and closing main menu consecutively
|
||||
|
||||
|
@ -965,13 +965,6 @@ bool cXmlParser::ParseAttributes(xmlAttrPtr attr, xmlNodePtr node, vector<pair<s
|
||||
while (NULL != attr) {
|
||||
|
||||
string name = (const char*)attr->name;
|
||||
/*
|
||||
if (!name.compare("debug")) {
|
||||
attribs.push_back(pair<string, string>((const char*)attr->name, "true"));
|
||||
attr = attr->next;
|
||||
continue;
|
||||
}
|
||||
*/
|
||||
xmlChar *value = NULL;
|
||||
value = xmlGetProp(node, attr->name);
|
||||
if (!view->ValidAttribute(isViewElement ? "viewelement" : (const char*)node->name, (const char*)attr->name)) {
|
||||
|
@ -31,6 +31,7 @@ cDisplayMenuRootView::cDisplayMenuRootView(cTemplateView *rootView) : cView(root
|
||||
}
|
||||
|
||||
cDisplayMenuRootView::~cDisplayMenuRootView() {
|
||||
CancelSave();
|
||||
if (view) {
|
||||
delete view;
|
||||
view = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user