From 93cff9543235d41ea9e15fe8159842a85cf938f6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 6 Sep 2011 08:04:06 +0000 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/8210f6f44561360f95dd61a102839b1b52bec9bf Author: Thilo Graf 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 --- src/gui/info_menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/info_menue.cpp b/src/gui/info_menue.cpp index 9d5845bf1..efbdb47a7 100644 --- a/src/gui/info_menue.cpp +++ b/src/gui/info_menue.cpp @@ -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();