mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
fix null references issues in commit 6b9f96697b @aaroncampf
This commit is contained in:
@@ -19,6 +19,11 @@ namespace Wox.Plugin.SystemPlugins.Folder_Links {
|
|||||||
|
|
||||||
protected override void InitInternal(PluginInitContext context) {
|
protected override void InitInternal(PluginInitContext context) {
|
||||||
this.context = context;
|
this.context = context;
|
||||||
|
if (UserSettingStorage.Instance.FolderLinks == null)
|
||||||
|
{
|
||||||
|
UserSettingStorage.Instance.FolderLinks = new List<FolderLink>();
|
||||||
|
UserSettingStorage.Instance.Save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public System.Windows.Controls.Control CreateSettingPanel() {
|
public System.Windows.Controls.Control CreateSettingPanel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user