From 17fdceab547ee614f8676ea6120eadaebea3434e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 9 Oct 2021 01:23:28 +0200 Subject: [PATCH] neutrino.cpp: action save settings, implement ShowHintS The same is possible with tuxtxt_init() and tuxtxt_close(), if reqiured Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7a62a65a9f98637a767fe14557169a3d26ca5796 Author: Thilo Graf Date: 2021-10-09 (Sat, 09 Oct 2021) ------------------ This commit was generated by Migit --- src/neutrino.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 500c863f3..bc9393d45 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -5459,12 +5459,14 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey) #endif else if (actionKey=="savesettings") { + ShowHintS(LOCALE_MAINSETTINGS_SAVESETTINGSNOW_HINT, sigc::bind(sigc::mem_fun(*this, &CNeutrinoApp::saveSetup), NEUTRINO_SETTINGS_FILE), 1); +#if 0 CHint *hint = new CHint(LOCALE_MAINSETTINGS_SAVESETTINGSNOW_HINT); hint->setDelay(1); hint->paint(); saveSetup(NEUTRINO_SETTINGS_FILE); - +#endif if(g_settings.cacheTXT) { tuxtxt_init(); } else @@ -5473,7 +5475,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey) //g_Sectionsd->setEventsAreOldInMinutes((unsigned short) (g_settings.epg_old_hours*60)); //g_Sectionsd->setHoursToCache((unsigned short) (g_settings.epg_cache_days*24)); - delete hint; +// delete hint; } else if (actionKey=="recording") { setupRecordingDevice();