From 9e96e1f1c0e6e733d9037bdfc544ff4968402cfb Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 12 Aug 2019 20:58:21 +0100 Subject: [PATCH] Improve documentation of EditorPlugin.add_tool_submenu_item method (cherry picked from commit 45767fe5f6b353d93ba1e256f7d0d09831adc0bc) --- doc/classes/EditorPlugin.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index 56d841dfd9b..281e402e944 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -128,7 +128,7 @@ - Add a custom menu to 'Project > Tools' as [code]name[/code] that calls [code]callback[/code] on an instance of [code]handler[/code] with a parameter [code]ud[/code] when user activates it. + Adds a custom menu item to [b]Project > Tools[/b] as [code]name[/code] that calls [code]callback[/code] on an instance of [code]handler[/code] with a parameter [code]ud[/code] when user activates it. @@ -139,7 +139,7 @@ - Like [method add_tool_menu_item] but adds the [code]submenu[/code] item inside the [code]name[/code] menu. + Adds a custom submenu under [b]Project > Tools >[/b] [code]name[/code]. [code]submenu[/code] should be an object of class [PopupMenu]. This submenu should be cleaned up using [code]remove_tool_menu_item(name)[/code].