From 608c16297e79a58e43a3ec07b537d2adf1b48f55 Mon Sep 17 00:00:00 2001 From: Ev1lbl0w Date: Wed, 19 Oct 2022 11:31:08 +0100 Subject: [PATCH] Document PopupMenu id behavior (cherry picked from commit b8aa5ebfeb30b01db6e70ccc790624632c7273ee) --- doc/classes/PopupMenu.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 324d96b39..88ea6eb1b 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -493,6 +493,7 @@ Emitted when an item of some [code]id[/code] is pressed or its accelerator is activated. + [b]Note:[/b] If [code]id[/code] is negative (either explicitly or due to overflow), this will return the correponding index instead.