- added option to open Wox Settings from the tray menu

- added a checkbox option specifying whether to leave the command line open after having run a command like >ping google.com
This commit is contained in:
kerams
2014-04-10 23:44:57 +02:00
parent b8f513fffe
commit e0eb8c83e2
5 changed files with 41 additions and 3 deletions

View File

@@ -76,6 +76,17 @@ namespace Wox
UserSettingStorage.Instance.Save();
};
cbLeaveCmdOpen.Checked += (o, e) => {
UserSettingStorage.Instance.LeaveCmdOpen = true;
UserSettingStorage.Instance.Save();
};
cbLeaveCmdOpen.Unchecked += (o, e) =>
{
UserSettingStorage.Instance.LeaveCmdOpen = false;
UserSettingStorage.Instance.Save();
};
#region Load Theme Data
if (!string.IsNullOrEmpty(UserSettingStorage.Instance.QueryBoxFont) &&
@@ -167,6 +178,7 @@ namespace Wox
cbEnablePythonPlugins.IsChecked = UserSettingStorage.Instance.EnablePythonPlugins;
cbStartWithWindows.IsChecked = File.Exists(woxLinkPath);
cbEnableBookmarkPlugin.IsChecked = UserSettingStorage.Instance.EnableBookmarkPlugin;
cbLeaveCmdOpen.IsChecked = UserSettingStorage.Instance.LeaveCmdOpen;
var features = new CompositeCollection
{