Do not return Null from SettingsRepository.Load().

This commit is contained in:
Daniel Kraus 2015-08-11 16:16:26 +02:00
parent c9fc4a5fae
commit 6af2243660
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ namespace zaaReloaded2.Controller
string s = Properties.Settings.Default.SettingsRepository; string s = Properties.Settings.Default.SettingsRepository;
if (String.IsNullOrEmpty(s)) if (String.IsNullOrEmpty(s))
{ {
return null; return new SettingsRepository();
} }
else else
{ {