diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-11 10:01:52 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-11 10:05:46 -0300 |
commit | 1bf684cea274db7c58b3f62a77ad4de3980c14dc (patch) | |
tree | b39c833d3e744b7070d188f5f3335cacf19d7fec /tools/editor/plugins/script_editor_plugin.cpp | |
parent | e6ef92d21753e2b06e5f490d59d12d512490093b (diff) | |
download | redot-engine-1bf684cea274db7c58b3f62a77ad4de3980c14dc.tar.gz |
-Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
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 7f41949613..f2655fbb9f 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()) { |