Wox now has an option to ignore hotkeys when the focused window is topmost. This will ignore not only the main Wox hotkey but also plugin hotkeys.

~ WindowIntelopHelper edited
~ User settings entry added
~ Checkbox added to General tab (as well as its events)
~ Language entries added for en/ru
This commit is contained in:
Boris Makogonyuk
2015-10-08 00:17:37 +02:00
parent 92ddf2ca41
commit 7273e1218a
9 changed files with 56 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ namespace Wox
private void Setting_Loaded(object sender, RoutedEventArgs ev)
{
#region General
cbHideWhenDeactive.Checked += (o, e) =>
{
UserSettingStorage.Instance.HideWhenDeactive = true;
@@ -86,6 +85,20 @@ namespace Wox
UserSettingStorage.Instance.Save();
};
cbIgnoreHotkeysIfWindowIsTopmost.Checked += (o, e) =>
{
UserSettingStorage.Instance.IgnoreHotkeysOnTopMostFocus = true;
UserSettingStorage.Instance.Save();
};
cbIgnoreHotkeysIfWindowIsTopmost.Unchecked += (o, e) =>
{
UserSettingStorage.Instance.IgnoreHotkeysOnTopMostFocus = false;
UserSettingStorage.Instance.Save();
};
cbStartWithWindows.IsChecked = CheckApplicationIsStartupWithWindow();
comboMaxResultsToShow.SelectionChanged += (o, e) =>
{
@@ -97,6 +110,7 @@ namespace Wox
cbHideWhenDeactive.IsChecked = UserSettingStorage.Instance.HideWhenDeactive;
cbDontPromptUpdateMsg.IsChecked = UserSettingStorage.Instance.DontPromptUpdateMsg;
cbRememberLastLocation.IsChecked = UserSettingStorage.Instance.RememberLastLaunchLocation;
cbIgnoreHotkeysIfWindowIsTopmost.IsChecked = UserSettingStorage.Instance.IgnoreHotkeysOnTopMostFocus;
LoadLanguages();
comboMaxResultsToShow.ItemsSource = Enumerable.Range(2, 16);