diff --git a/support/hololens/ServoApp/ServoControl/ServoControl.cpp b/support/hololens/ServoApp/ServoControl/ServoControl.cpp index 9c5869d44e9..eae5016181c 100644 --- a/support/hololens/ServoApp/ServoControl/ServoControl.cpp +++ b/support/hololens/ServoApp/ServoControl/ServoControl.cpp @@ -453,10 +453,10 @@ ServoControl::PromptSync(hstring title, hstring message, hstring primaryButton, dialog.PrimaryButtonText(primaryButton); if (secondaryButton.has_value()) { - dialog.IsPrimaryButtonEnabled(true); + dialog.IsSecondaryButtonEnabled(true); dialog.SecondaryButtonText(*secondaryButton); } else { - dialog.IsPrimaryButtonEnabled(false); + dialog.IsSecondaryButtonEnabled(false); } auto titleBlock = Controls::TextBlock();