diff options
author | sr55 <[email protected]> | 2012-04-01 16:41:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-04-01 16:41:23 +0000 |
commit | a92f8b6d0ba8c19c88200118b76c7519e04d7f92 (patch) | |
tree | a2fc1de6b3f5f3f6599c583e7e433e57530a6d1c /win | |
parent | 481a3a39d39479752442889dbde03598a0ae788c (diff) |
WinGui: (0.9.x) User Settings Service Fixes/Improvements from Trunk
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4576 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs index c3feaefa8..fa8408649 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs @@ -151,6 +151,10 @@ namespace HandBrake.ApplicationServices.Services try
{
this.userSettings = this.GetDefaults();
+ if (File.Exists(this.settingsFile))
+ {
+ File.Delete(this.settingsFile);
+ }
this.Save();
}
catch (Exception)
|