mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
test_menu.cpp: ensure destroy footer after hide
This commit is contained in:
@@ -681,8 +681,11 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
if (!footer->isPainted())
|
||||
footer->paint();
|
||||
else
|
||||
else{
|
||||
footer->hide();
|
||||
delete footer;
|
||||
footer = NULL;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
else if (actionKey == "scrollbar"){
|
||||
|
Reference in New Issue
Block a user