From 2f67f647c7def36d735d48a4ff63994365847ef1 Mon Sep 17 00:00:00 2001 From: JeffB42 <10328858+JeffB42@users.noreply.github.com> Date: Sat, 3 Apr 2021 08:44:14 -0700 Subject: [PATCH] updated the cmd.Confirm condition to include a prompt --- uiWidgets/SystemCommandButton.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uiWidgets/SystemCommandButton.go b/uiWidgets/SystemCommandButton.go index 134a5d37..a1865a2c 100755 --- a/uiWidgets/SystemCommandButton.go +++ b/uiWidgets/SystemCommandButton.go @@ -51,7 +51,7 @@ func CreateSystemCommandButton( confirmationMessage := "" if len(cmd.Confirm) != 0 { - confirmationMessage = cmd.Confirm + confirmationMessage = fmt.Sprintf("%s\n\nDo you wish to proceed?", cmd.Confirm) } else if len(name) != 0 { confirmationMessage = fmt.Sprintf("Do you wish to %s?", name) } else {