Skip to content

Commit

Permalink
added 'Are you sure you want to proceed' text to match what one sees …
Browse files Browse the repository at this point in the history
…in OctoScreen
  • Loading branch information
JeffB42 committed Apr 17, 2021
1 parent c87fc2a commit d055f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uiWidgets/CommandButton.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion uiWidgets/ControlButton.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d055f35

Please sign in to comment.