diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ListPage.xaml.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ListPage.xaml.cs index 3e83930601..a49b315056 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ListPage.xaml.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ListPage.xaml.cs @@ -262,6 +262,7 @@ public sealed partial class ListPage : Page, // selection once, at the end of all the updating. if (ItemsList.SelectedItem == null) { + ItemsList.SelectedIndex = 0; } // Always reset the selected item when the top-level list page changes