diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/CommandBarViewModel.cs index 06f55ccf02..fff845b0a9 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 partial class CommandBarViewModel : ObservableObject, // 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