浏览代码

Save line number color with text editor theme

Ignacio Etcheverry 9 年之前
父节点
当前提交
bb61ef9d9a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/editor/editor_settings.cpp

+ 1 - 0
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());