mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix a null references issue that may crash wox.
This commit is contained in:
parent
1185bd5d86
commit
9c1fba3d79
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ namespace Wox
|
|||
|
||||
private void lbResults_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (e.AddedItems.Count > 0)
|
||||
if (e.AddedItems.Count > 0 && e.AddedItems[0] != null)
|
||||
{
|
||||
lbResults.ScrollIntoView(e.AddedItems[0]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue