From eae0937db05d44a074e9a8eb912a0863f9e4f14f Mon Sep 17 00:00:00 2001 From: Arjun Balgovind <32061677+arjunbalgovind@users.noreply.github.com> Date: Wed, 7 Oct 2020 12:22:54 -0700 Subject: [PATCH] Add null check in SelectPrevTabItem (#7139) --- .../launcher/PowerLauncher/ViewModel/ResultsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs b/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs index b93aa35049..4b56d17b1c 100644 --- a/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs +++ b/src/modules/launcher/PowerLauncher/ViewModel/ResultsViewModel.cs @@ -174,7 +174,7 @@ namespace PowerLauncher.ViewModel { // Tabbing backwards should highlight the last item of the previous row SelectPrevResult(); - SelectedItem.SelectLastContextButton(); + SelectedItem?.SelectLastContextButton(); } }