diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-03 18:44:14 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-03 18:44:14 +0300 |
commit | 2f67f647c7def36d735d48a4ff63994365847ef1 (patch) | |
tree | 82ec73a82fdaf6da78504c996203c37da50ea0fd | |
parent | 91eb5fc60dffa57bf4b35b4bcf4148538009c36e (diff) |
updated the cmd.Confirm condition to include a prompt2.7.1-dev
-rwxr-xr-x | uiWidgets/SystemCommandButton.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uiWidgets/SystemCommandButton.go b/uiWidgets/SystemCommandButton.go index 134a5d3..a1865a2 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 { |