From 6af2243660d48bf56481e0d5cc6af7a3cf22e024 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Tue, 11 Aug 2015 16:16:26 +0200 Subject: [PATCH] Do not return Null from SettingsRepository.Load(). --- zaaReloaded2/Controller/SettingsRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaaReloaded2/Controller/SettingsRepository.cs b/zaaReloaded2/Controller/SettingsRepository.cs index 6b261f8..5f465f8 100755 --- a/zaaReloaded2/Controller/SettingsRepository.cs +++ b/zaaReloaded2/Controller/SettingsRepository.cs @@ -49,7 +49,7 @@ namespace zaaReloaded2.Controller string s = Properties.Settings.Default.SettingsRepository; if (String.IsNullOrEmpty(s)) { - return null; + return new SettingsRepository(); } else {