fix #252 web search items lost after restart Wox

This commit is contained in:
qianlifeng
2015-02-20 21:14:15 +08:00
parent 21e5f33487
commit b1a97eca39
9 changed files with 23 additions and 18 deletions

View File

@@ -5,7 +5,6 @@ using System.Reflection;
using System.Windows;
using System.Windows.Media.Imaging;
using Microsoft.Win32;
using Wox.Core.UserSettings;
namespace Wox.Plugin.WebSearch
{
@@ -124,7 +123,7 @@ namespace Wox.Plugin.WebSearch
string msg = context.API.GetTranslation("wox_plugin_websearch_succeed");
MessageBox.Show(msg);
}
UserSettingStorage.Instance.Save();
WebSearchStorage.Instance.Save();
settingWindow.ReloadWebSearchView();
Close();
}