Browse Source

Merge pull request #15709 from Paulb23/update_member_keyword_colour_on_change

Fixed member keywords colour not updating on settings change
George Marques 7 years ago
parent
commit
109242c011
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/plugins/script_text_editor.cpp

+ 1 - 0
editor/plugins/script_text_editor.cpp

@@ -231,6 +231,7 @@ void ScriptTextEditor::_set_theme_for_script() {
 
 		text_edit->add_keyword_color(n, colors_cache.type_color);
 	}
+	_update_member_keywords();
 
 	//colorize comments
 	List<String> comments;