close #65 Hide when app loses focus

This commit is contained in:
qianlifeng
2014-04-13 10:08:33 +08:00
parent 54417115f3
commit 36f3c293f0
5 changed files with 31 additions and 1 deletions

View File

@@ -71,6 +71,9 @@ namespace Wox.Infrastructure.Storage.UserSettings
[JsonProperty]
public bool LeaveCmdOpen { get; set; }
[JsonProperty]
public bool HideWhenDeactive { get; set; }
public List<WebSearch> LoadDefaultWebSearches()
{
List<WebSearch> webSearches = new List<WebSearch>();
@@ -142,6 +145,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
Opacity = 1;
OpacityMode = OpacityMode.Normal;
LeaveCmdOpen = false;
HideWhenDeactive = false;
}
}