From 597931f79ba9ff4644f5e41266d9a4dbfed780b0 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sat, 21 May 2016 19:25:28 +0100 Subject: [PATCH] use propertychanged helper --- Wox.Core/FodyWeavers.xml | 4 ++++ Wox.Core/UserSettings/Settings.cs | 5 ++--- Wox.Core/Wox.Core.csproj | 10 ++++++++++ Wox.Core/packages.config | 2 ++ 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 Wox.Core/FodyWeavers.xml diff --git a/Wox.Core/FodyWeavers.xml b/Wox.Core/FodyWeavers.xml new file mode 100644 index 0000000000..bb0f322ee9 --- /dev/null +++ b/Wox.Core/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Wox.Core/UserSettings/Settings.cs b/Wox.Core/UserSettings/Settings.cs index 2487fcb2f8..068e8217a9 100644 --- a/Wox.Core/UserSettings/Settings.cs +++ b/Wox.Core/UserSettings/Settings.cs @@ -1,13 +1,12 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Linq; -using Wox.Core.Plugin; -using Wox.Plugin; using Newtonsoft.Json; +using PropertyChanged; namespace Wox.Core.UserSettings { + [ImplementPropertyChanged] public class Settings { public string Hotkey { get; set; } = "Alt + Space"; diff --git a/Wox.Core/Wox.Core.csproj b/Wox.Core/Wox.Core.csproj index 7debf7a622..908689e1f2 100644 --- a/Wox.Core/Wox.Core.csproj +++ b/Wox.Core/Wox.Core.csproj @@ -140,7 +140,17 @@ Wox.Plugin + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +