From 793694fc400c9f4d76db6a639102709dbe6da916 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 5 Aug 2020 11:58:04 +0200 Subject: [PATCH] Mention caveats for `popup_exclusive` in the WindowDialog documentation This closes #41045. --- doc/classes/Popup.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Popup.xml b/doc/classes/Popup.xml index 6681bbf5669..5ef02a1755b 100644 --- a/doc/classes/Popup.xml +++ b/doc/classes/Popup.xml @@ -67,6 +67,7 @@ If [code]true[/code], the popup will not be hidden when a click event occurs outside of it, or when it receives the [code]ui_cancel[/code] action event. + [b]Note:[/b] Enabling this property doesn't affect the Close or Cancel buttons' behavior in dialogs that inherit from this class. As a workaround, you can use [method WindowDialog.get_close_button] or [method ConfirmationDialog.get_cancel] and hide the buttons in question by setting their [member CanvasItem.visible] property to [code]false[/code].