diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-28 07:33:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-28 07:33:38 +0200 |
commit | 26e5e3e507d2670c34ad43e7fb15f71c1ff5a219 (patch) | |
tree | 4ff6c5b3ae4c36e2f26c6d66938b2b9cc13f19d0 | |
parent | 763a4d84025713c73ac826cfac185c9ff13fb274 (diff) | |
parent | 4967e4a9134fc6fa36ff0c602877342551a74be6 (diff) |
Merge pull request #32399 from swarnimarun/vs-patch01
Fix edit function button
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index 29b42b1673..0159c7c90f 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -1350,7 +1350,7 @@ void VisualScriptEditor::_member_button(Object *p_item, int p_column, int p_butt return; //or crash because it will become invalid } } else if (ti->get_parent() == root->get_children()) { - selected = ti->get_metadata(0); + selected = ti->get_text(0); function_name_edit->set_position(Input::get_singleton()->get_mouse_position() - Vector2(60, -10)); function_name_edit->popup(); } |