Make the number of results show at a time customizable

This commit is contained in:
kerams
2015-07-12 21:13:30 +02:00
parent 207546b53c
commit c79bf1ca3a
5 changed files with 25 additions and 7 deletions

View File

@@ -103,6 +103,9 @@ namespace Wox.Infrastructure.Storage.UserSettings
[JsonProperty]
public string ProxyPassword { get; set; }
[JsonProperty]
public int MaxResultsToShow { get; set; }
public List<WebSearch> LoadDefaultWebSearches()
{
List<WebSearch> webSearches = new List<WebSearch>();
@@ -161,6 +164,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
OpacityMode = OpacityMode.Normal;
LeaveCmdOpen = false;
HideWhenDeactive = false;
MaxResultsToShow = 6;
return this;
}