diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-17 21:57:51 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-17 21:57:51 +0300 |
commit | d055f35514ea0c3dd0f4f9eb63a34c3014b95a77 (patch) | |
tree | 77500db93fba1a2bac2ce3d814797502e5075edc | |
parent | c87fc2af68d91ee43e545b9ac201bd783d8c4776 (diff) |
added 'Are you sure you want to proceed' text to match what one sees in OctoScreen
-rwxr-xr-x | uiWidgets/CommandButton.go | 2 | ||||
-rwxr-xr-x | uiWidgets/ControlButton.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uiWidgets/CommandButton.go b/uiWidgets/CommandButton.go index 3914897..2ed5dd8 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 53ae63e..575639e 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 { |