mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
moviebrowser: only save settings if modified
Origin commit data
------------------
Commit: 3ece169f9b
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2013-02-26 (Tue, 26 Feb 2013)
Origin message was:
------------------
- 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.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
||||
if (configfile.getModifiedFlag())
|
||||
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user