diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-24 22:45:00 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-24 22:45:00 +0200 |
commit | a629e83b1557a481c01dbe4f7222fc58b5f5c0bc (patch) | |
tree | 6fde44e51349f2d65967697a317772694deacfed /tools | |
parent | 15e9f66a1aca28cda51828a8ab409b905ae6def5 (diff) | |
parent | bb61ef9d9ad61b9bff1993709024afbfaee8cc18 (diff) |
Merge pull request #4784 from neikeq/pr-missing-4296
Save line number color with text editor theme
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/editor_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 4e6d78084f..893b9cb28e 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -770,6 +770,7 @@ bool EditorSettings::_save_text_editor_theme(String p_file) { Ref<ConfigFile> cf = memnew( ConfigFile ); // hex is better? cf->set_value(theme_section, "background_color", ((Color)get("text_editor/background_color")).to_html()); cf->set_value(theme_section, "caret_color", ((Color)get("text_editor/caret_color")).to_html()); + cf->set_value(theme_section, "line_number_color", ((Color)get("text_editor/line_number_color")).to_html()); cf->set_value(theme_section, "text_color", ((Color)get("text_editor/text_color")).to_html()); cf->set_value(theme_section, "text_selected_color", ((Color)get("text_editor/text_selected_color")).to_html()); cf->set_value(theme_section, "keyword_color", ((Color)get("text_editor/keyword_color")).to_html()); |