2
0
Эх сурвалжийг харах

Fix connected function name in scripting.rst (#3124)

beamer159 5 жил өмнө
parent
commit
4d35f97e1b

+ 1 - 1
getting_started/step_by_step/scripting.rst

@@ -252,7 +252,7 @@ Next, write a function which will be called when the button is pressed:
         GetNode<Label>("Label").Text = "HELLO!";
         GetNode<Label>("Label").Text = "HELLO!";
     }
     }
 
 
-Finally, connect the button's "pressed" signal to ``_ready()`` by
+Finally, connect the button's "pressed" signal to ``_on_Button_pressed()`` by
 using :ref:`Object.connect() <class_Object_method_connect>`.
 using :ref:`Object.connect() <class_Object_method_connect>`.
 
 
 .. tabs::
 .. tabs::