neutrino info-menu: fix exit handling

While leaving of imageinfo, we jumped to main menu, that was not right.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1667 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 8210f6f445
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-09-06 (Tue, 06 Sep 2011)

Origin message was:
------------------
*neutrino info-menu: fix exit handling

While leaving of imageinfo, we jumped to main menu, that was not right.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1667 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
2011-09-06 08:04:06 +00:00
parent 629eddd84f
commit 93cff95432

View File

@@ -59,7 +59,7 @@ int CInfoMenu::exec(CMenuTarget* parent, const std::string &/*actionKey*/)
printf("[neutrino] CInfoMenu %s: init...\n",__FUNCTION__);
int res = menu_return::RETURN_REPAINT;
if (parent)
if (parent != NULL)
parent->hide();
showMenu();