Add afterload event for LoadDefaultConfig

This commit is contained in:
qianlifeng
2014-08-17 15:57:25 +08:00
parent 13e629e17d
commit 49362ce5ab
2 changed files with 10 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
get { return "config"; }
}
protected override void LoadDefaultConfig()
protected override UserSettingStorage LoadDefaultConfig()
{
Theme = "Dark";
ReplaceWinR = true;
@@ -157,6 +157,8 @@ namespace Wox.Infrastructure.Storage.UserSettings
OpacityMode = OpacityMode.Normal;
LeaveCmdOpen = false;
HideWhenDeactive = false;
return this;
}
protected override void OnAfterLoadConfig(UserSettingStorage storage)