don't save conf-files to flash; use /media by default

Origin commit data
------------------
Commit: 909201ae66
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- don't save conf-files to flash; use /media by default
This commit is contained in:
vanhofen
2017-09-07 16:18:30 +02:00
parent 9fd6174d36
commit f2ef2e0cee
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey)
else if(actionKey == "savekeys") { else if(actionKey == "savekeys") {
CFileBrowser fileBrowser; CFileBrowser fileBrowser;
fileBrowser.Dir_Mode = true; fileBrowser.Dir_Mode = true;
if (fileBrowser.exec("/var/tuxbox") == true) { if (fileBrowser.exec("/media") == true) {
std::string fname = "keys.conf"; std::string fname = "keys.conf";
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname); CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname);
sms->exec(NULL, ""); sms->exec(NULL, "");

View File

@@ -91,7 +91,7 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
else if(actionKey == "saveconfig") else if(actionKey == "saveconfig")
{ {
fileBrowser.Dir_Mode = true; fileBrowser.Dir_Mode = true;
if (fileBrowser.exec("/var/tuxbox") == true) if (fileBrowser.exec("/media") == true)
{ {
std::string fname = "neutrino.conf"; std::string fname = "neutrino.conf";
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVECONFIG, &fname); CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVECONFIG, &fname);