mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- don't save conf-files to flash; use /media by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -106,7 +106,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
else if(actionKey == "savekeys") {
|
||||
CFileBrowser fileBrowser;
|
||||
fileBrowser.Dir_Mode = true;
|
||||
if (fileBrowser.exec("/var/tuxbox") == true) {
|
||||
if (fileBrowser.exec("/media") == true) {
|
||||
std::string fname = "keys.conf";
|
||||
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname);
|
||||
sms->exec(NULL, "");
|
||||
|
@@ -89,7 +89,7 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
else if(actionKey == "saveconfig")
|
||||
{
|
||||
fileBrowser.Dir_Mode = true;
|
||||
if (fileBrowser.exec("/var/tuxbox") == true)
|
||||
if (fileBrowser.exec("/media") == true)
|
||||
{
|
||||
std::string fname = "neutrino.conf";
|
||||
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVECONFIG, &fname);
|
||||
|
Reference in New Issue
Block a user