adzap: don't leave all menues, when adzap isn't active

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d4aba4a6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-29 (Mon, 29 Feb 2016)

Origin message was:
------------------
- adzap: don't leave all menues, when adzap isn't active

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-29 00:12:41 +01:00
parent 2676f328e4
commit db71efdc01

View File

@@ -4005,7 +4005,10 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
} }
else if(actionKey == "adzap") { else if(actionKey == "adzap") {
CAdZapMenu::getInstance()->exec(parent, "adzap"); CAdZapMenu::getInstance()->exec(parent, "adzap");
return menu_return::RETURN_EXIT_ALL; if (CAdZapMenu::getInstance()->isActive())
return menu_return::RETURN_EXIT_ALL;
else
return menu_return::RETURN_REPAINT;
} }
else if(actionKey == "moviedir") { else if(actionKey == "moviedir") {
parent->hide(); parent->hide();