summaryrefslogtreecommitdiff
path: root/doc/classes/ConfirmationDialog.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ConfirmationDialog.xml')
-rw-r--r--doc/classes/ConfirmationDialog.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ConfirmationDialog.xml b/doc/classes/ConfirmationDialog.xml
index 48b4df9126..ac2ea5be17 100644
--- a/doc/classes/ConfirmationDialog.xml
+++ b/doc/classes/ConfirmationDialog.xml
@@ -8,10 +8,10 @@
To get cancel action, you can use:
[codeblocks]
[gdscript]
- get_cancel_button().pressed.connect(self.cancelled)
+ get_cancel_button().pressed.connect(self.canceled)
[/gdscript]
[csharp]
- GetCancelButton().Pressed += Cancelled;
+ GetCancelButton().Pressed += Canceled;
[/csharp]
[/codeblocks]
</description>