From f523d4f16fa0df9bcc7ff33624b2d5814b56c965 Mon Sep 17 00:00:00 2001 From: Daylily-Zeleen Date: Wed, 22 May 2024 15:05:56 +0800 Subject: [PATCH] Fix confusing descriptions of ConfirmationDialog's description. --- doc/classes/ConfirmationDialog.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/ConfirmationDialog.xml b/doc/classes/ConfirmationDialog.xml index 8fa5dac7bf2..5cdff076bd5 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.canceled) + get_cancel_button().pressed.connect(_on_canceled) [/gdscript] [csharp] - GetCancelButton().Pressed += Canceled; + GetCancelButton().Pressed += OnCanceled; [/csharp] [/codeblocks]