- moviebrowser: only save settings if modified

This commit is contained in:
Gaucho316
2013-02-26 13:53:07 +01:00
committed by svenhoefer
parent 365300c830
commit 3ece169f9b

View File

@@ -806,7 +806,8 @@ bool CMovieBrowser::saveSettings(MB_SETTINGS* settings)
configfile.setInt32(cfg_key, settings->browserRowWidth[i]);
}
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
if (configfile.getModifiedFlag())
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
return (result);
}