mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- moviebrowser: only save settings if modified
This commit is contained in:
@@ -806,7 +806,8 @@ bool CMovieBrowser::saveSettings(MB_SETTINGS* settings)
|
|||||||
configfile.setInt32(cfg_key, settings->browserRowWidth[i]);
|
configfile.setInt32(cfg_key, settings->browserRowWidth[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
if (configfile.getModifiedFlag())
|
||||||
|
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user