diff --git a/Wox/ResultListBox.xaml b/Wox/ResultListBox.xaml index 9f4894f9d4..5a280b760f 100644 --- a/Wox/ResultListBox.xaml +++ b/Wox/ResultListBox.xaml @@ -1,13 +1,12 @@ - - - - \ No newline at end of file + \ No newline at end of file diff --git a/Wox/ResultListBox.xaml.cs b/Wox/ResultListBox.xaml.cs index f78254bd86..d8c089f39d 100644 --- a/Wox/ResultListBox.xaml.cs +++ b/Wox/ResultListBox.xaml.cs @@ -33,7 +33,7 @@ namespace Wox { if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { - lbResults.ScrollIntoView(e.AddedItems[0]); + ScrollIntoView(e.AddedItems[0]); } }