From aa5e34d0182b5181f425f6273536fb1a9cf90346 Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 21 Oct 2019 22:44:03 +0900 Subject: [PATCH] Fix validating editor bold font --- editor/editor_fonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index b6d27d84e0c..97c796c7078 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -64,7 +64,7 @@ Ref m_name; \ m_name.instance(); \ m_name->set_size(m_size); \ - if (CustomFont.is_valid()) { \ + if (CustomFontBold.is_valid()) { \ m_name->set_font_data(CustomFontBold); \ m_name->add_fallback(DefaultFontBold); \ } else { \