Browse Source

Merge pull request #7820 from gogojokid/master-1

Custom editor icon section's command wrong or out of date
Max Hilbrunner 1 year ago
parent
commit
8e69f6be0c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tutorials/scripting/gdextension/gdextension_cpp_example.rst

+ 3 - 2
tutorials/scripting/gdextension/gdextension_cpp_example.rst

@@ -442,8 +442,9 @@ For example:
 
 
 .. code-block:: none
 .. code-block:: none
 
 
-    [Icon]
-    GDExample = "res://icons/GDExample.svg"
+    [icons]
+
+    GDExample = "res://icons/gd_example.svg"
 
 
 The path should point to a 16 by 16 pixel SVG image. Read the guide for :ref:`creating icons <doc_editor_icons>`
 The path should point to a 16 by 16 pixel SVG image. Read the guide for :ref:`creating icons <doc_editor_icons>`
 for more information.
 for more information.