diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-12-17 11:16:17 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2019-12-17 11:19:43 +0300 |
commit | bb7b614da15ac0634f2e1895f8ee52433c9bd584 (patch) | |
tree | d972ad0b158bfa37a400d12b01c3a88047a8c26a /editor/plugins/script_text_editor.cpp | |
parent | 01a62232264eae3beea6fd6afceae8a45328985f (diff) | |
download | redot-engine-bb7b614da15ac0634f2e1895f8ee52433c9bd584.tar.gz |
Prevent showing toggle scripts panel switch in shader editor
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 2e41801637..9bda0f50e4 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1760,6 +1760,7 @@ ScriptTextEditor::ScriptTextEditor() { code_editor->get_text_edit()->connect("symbol_lookup", this, "_lookup_symbol"); code_editor->get_text_edit()->connect("info_clicked", this, "_lookup_connections"); code_editor->set_v_size_flags(SIZE_EXPAND_FILL); + code_editor->show_toggle_scripts_button(); warnings_panel = memnew(RichTextLabel); editor_box->add_child(warnings_panel); |