From d055f35514ea0c3dd0f4f9eb63a34c3014b95a77 Mon Sep 17 00:00:00 2001 From: JeffB42 <10328858+JeffB42@users.noreply.github.com> Date: Sat, 17 Apr 2021 11:57:51 -0700 Subject: [PATCH] added 'Are you sure you want to proceed' text to match what one sees in OctoScreen --- uiWidgets/CommandButton.go | 2 +- uiWidgets/ControlButton.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uiWidgets/CommandButton.go b/uiWidgets/CommandButton.go index 39148978..2ed5dd80 100755 --- a/uiWidgets/CommandButton.go +++ b/uiWidgets/CommandButton.go @@ -55,7 +55,7 @@ func (this *CommandButton) handleClicked() { if commandRequiresConfirmation(this.commandDefinition) { utils.MustConfirmDialogBox( this.parentWindow, - this.commandDefinition.Confirm, + this.commandDefinition.Confirm + "\n\nAre you sure you want to proceed?", this.sendCommand, )() } else { diff --git a/uiWidgets/ControlButton.go b/uiWidgets/ControlButton.go index 53ae63e3..575639ed 100755 --- a/uiWidgets/ControlButton.go +++ b/uiWidgets/ControlButton.go @@ -55,7 +55,7 @@ func (this *ControlButton) handleClicked() { if controlRequiresConfirmation(this.controlDefinition) { utils.MustConfirmDialogBox( this.parentWindow, - this.controlDefinition.Confirm, + this.controlDefinition.Confirm + "\n\nAre you sure you want to proceed?", this.sendCommand, )() } else {