Close #42 Program Source settings GUI

This commit is contained in:
Yeechan Lu
2014-03-19 20:16:20 +08:00
parent f4e74065ec
commit 1fa4be9ebb
15 changed files with 347 additions and 12 deletions

View File

@@ -109,6 +109,11 @@ namespace Wox
}
else
{
if (CommonStorage.Instance.UserSetting.WebSearches.Exists(o => o.ActionWord == action && o != updateWebSearch))
{
MessageBox.Show("ActionWord has existed, please input a new one.");
return;
}
updateWebSearch.ActionWord = action;
updateWebSearch.IconPath = tbIconPath.Text;
updateWebSearch.Enabled = cbEnable.IsChecked ?? false;