diff options
| author | Juan Linietsky | 2016-09-11 10:01:52 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-09-11 10:05:46 -0300 |
| commit | 1bf684cea274db7c58b3f62a77ad4de3980c14dc (patch) | |
| tree | b39c833d3e744b7070d188f5f3335cacf19d7fec /tools/editor/plugins/script_editor_plugin.cpp | |
| parent | e6ef92d21753e2b06e5f490d59d12d512490093b (diff) | |
| download | godot-1bf684cea274db7c58b3f62a77ad4de3980c14dc.tar.gz godot-1bf684cea274db7c58b3f62a77ad4de3980c14dc.tar.zst godot-1bf684cea274db7c58b3f62a77ad4de3980c14dc.zip | |
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 7f4194961..f2655fbb9 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -1513,6 +1513,7 @@ void ScriptEditor::edit(const Ref<Script>& p_script, bool p_grab_focus) { } ERR_FAIL_COND(!se); tab_container->add_child(se); + se->set_edited_script(p_script); se->set_tooltip_request_func("_get_debug_tooltip",this); if (se->get_edit_menu()) { |
