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

@@ -1,14 +1,10 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Wox.Helper;
using Wox.Infrastructure.Storage.UserSettings;
using Wox.Plugin;
using UserControl = System.Windows.Controls.UserControl;
namespace Wox
{
@@ -31,6 +27,8 @@ namespace Wox
public bool Dirty { get; set; }
public int MaxResultsToShow { get { return UserSettingStorage.Instance.MaxResultsToShow * 50; } }
public void AddResults(List<Result> results)
{