summaryrefslogtreecommitdiff
path: root/editor/editor_log.cpp
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2019-02-01 16:59:55 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2019-02-01 16:59:55 +0100
commit81a5eb4d18bf04f55ed90f01a47ae68f99d38d11 (patch)
tree756734494efb7b81e5bcf693244ef51b817bbc37 /editor/editor_log.cpp
parent463123a661151f119132f2ee9af78925a58a068a (diff)
Don't modify font which could potentially not be the editor one yet
Diffstat (limited to 'editor/editor_log.cpp')
-rw-r--r--editor/editor_log.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp
index 803d7e10f7..9f38e84c8d 100644
--- a/editor/editor_log.cpp
+++ b/editor/editor_log.cpp
@@ -65,7 +65,6 @@ void EditorLog::_notification(int p_what) {
} else if (p_what == NOTIFICATION_THEME_CHANGED) {
Ref<DynamicFont> df_output_code = get_font("output_source", "EditorFonts");
if (df_output_code.is_valid()) {
- df_output_code->set_size(int(EDITOR_DEF("run/output/font_size", 13)) * EDSCALE);
if (log != NULL) {
log->add_font_override("normal_font", get_font("output_source", "EditorFonts"));
}