fix null references issues in commit 6b9f96697b @aaroncampf

This commit is contained in:
qianlifeng
2014-03-31 12:24:05 +08:00
parent a254b996e0
commit 7d4dd9c699

View File

@@ -19,6 +19,11 @@ namespace Wox.Plugin.SystemPlugins.Folder_Links {
protected override void InitInternal(PluginInitContext context) {
this.context = context;
if (UserSettingStorage.Instance.FolderLinks == null)
{
UserSettingStorage.Instance.FolderLinks = new List<FolderLink>();
UserSettingStorage.Instance.Save();
}
}
public System.Windows.Controls.Control CreateSettingPanel() {