Merge pull request #26431 from Chaosus/error_font_update

Updates error label font in script's status bar
This commit is contained in:
Rémi Verschelde 2019-03-01 12:02:09 +01:00 committed by GitHub
commit 3baa499a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1144,6 +1144,7 @@ void CodeTextEditor::_update_font() {
text_editor->add_font_override("font", get_font("source", "EditorFonts"));
Ref<Font> status_bar_font = get_font("status_source", "EditorFonts");
error->add_font_override("font", status_bar_font);
int count = status_bar->get_child_count();
for (int i = 0; i < count; i++) {
Control *n = Object::cast_to<Control>(status_bar->get_child(i));