Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-17 21:57:51 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-17 21:57:51 +0300
commitd055f35514ea0c3dd0f4f9eb63a34c3014b95a77 (patch)
tree77500db93fba1a2bac2ce3d814797502e5075edc
parentc87fc2af68d91ee43e545b9ac201bd783d8c4776 (diff)
added 'Are you sure you want to proceed' text to match what one sees in OctoScreen
-rwxr-xr-xuiWidgets/CommandButton.go2
-rwxr-xr-xuiWidgets/ControlButton.go2
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 {