From 3ece169f9bc1abe46980dbb0f6e754f64bd1b10b Mon Sep 17 00:00:00 2001 From: Gaucho316 Date: Tue, 26 Feb 2013 13:53:07 +0100 Subject: [PATCH] - moviebrowser: only save settings if modified --- src/gui/moviebrowser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 8f482b622..7ef9bfef9 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -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); }