summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-01 12:02:09 +0100
committerGitHub <noreply@github.com>2019-03-01 12:02:09 +0100
commit3baa499a9c839fc0b98040f0e052164d5d24b68a (patch)
treec0cd357e92c36f3ab93f396c95ce3aa0406ae54c
parent482dcf526653299a068741baad91965f83506ac1 (diff)
parent7bb449ae70dca35d4381c9dfb585c5bf0db63707 (diff)
Merge pull request #26431 from Chaosus/error_font_update
Updates error label font in script's status bar
-rw-r--r--editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index e9580ae0d1..7ee4d5b03b 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -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));