diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs index 06f55ccf025f..fff845b0a982 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs @@ -128,7 +128,7 @@ public ContextKeybindingResult InvokeItem(CommandContextItemViewModel item) => // this comes in when the primary button is tapped public void InvokePrimaryCommand() { - PerformCommand(SecondaryCommand); + PerformCommand(PrimaryCommand); } // this comes in when the secondary button is tapped