diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-02-08 11:13:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 11:13:24 +0100 |
commit | a66e55069e6794ff5bf7d7a39e797e5be2a7df4a (patch) | |
tree | 16a459437dea42fc78a7a0993c5bf437bea74d0b /editor/plugins/script_text_editor.cpp | |
parent | dc17cce995a5958fe608221aa089ff912853a744 (diff) | |
parent | 6eeeb9a63ce6f9dc6134429ed9c6cf92b1a8f2ed (diff) | |
download | redot-engine-a66e55069e6794ff5bf7d7a39e797e5be2a7df4a.tar.gz |
Merge pull request #57796 from akien-mga/revert-sname-theme-setters
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index b18a7fef5d..36f8053285 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1848,7 +1848,7 @@ void ScriptTextEditor::_enable_code_editor() { ScriptTextEditor::ScriptTextEditor() { code_editor = memnew(CodeTextEditor); - code_editor->add_theme_constant_override(SNAME("separation"), 2); + code_editor->add_theme_constant_override("separation", 2); code_editor->set_anchors_and_offsets_preset(Control::PRESET_WIDE); code_editor->set_code_complete_func(_code_complete_scripts, this); code_editor->set_v_size_flags(SIZE_EXPAND_FILL); |