diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs index fa8408649..7fe50cd04 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs @@ -136,6 +136,10 @@ namespace HandBrake.ApplicationServices.Services SerializableDictionary<string, object> data = (SerializableDictionary<string, object>)serializer.Deserialize(reader);
this.userSettings = data;
}
+ }
+ else
+ {
+ this.userSettings = new SerializableDictionary<string, object>();
}
// Add any missing / new settings
@@ -146,7 +150,7 @@ namespace HandBrake.ApplicationServices.Services this.Save();
}
}
- catch (Exception)
+ catch (Exception exc)
{
try
{
|