From b8aa5ebfeb30b01db6e70ccc790624632c7273ee Mon Sep 17 00:00:00 2001 From: Ev1lbl0w Date: Wed, 19 Oct 2022 11:31:08 +0100 Subject: [PATCH] Document PopupMenu id behavior --- doc/classes/PopupMenu.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 23287f4de19..c99760996fe 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -533,6 +533,8 @@ Emitted when an item of some [param id] is pressed or its accelerator is activated. + + [b]Note:[/b] If [param id] is negative (either explicitly or due to overflow), this will return the correponding index instead.