diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-21 17:15:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 17:15:40 +0200 |
commit | 9e631a40c69b97c94d23bf2cba23f9943a8f11fa (patch) | |
tree | 08da49e15da91dc87f3777351819dd8d65135de8 | |
parent | 4a726998bd28121dde1d212f363d9eba7efa0caf (diff) | |
parent | aa5e34d0182b5181f425f6273536fb1a9cf90346 (diff) |
Merge pull request #32956 from volzhs/invalid-bold
Fix validating editor bold font
-rw-r--r-- | editor/editor_fonts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_fonts.cpp b/editor/editor_fonts.cpp index b6d27d84e0..97c796c707 100644 --- a/editor/editor_fonts.cpp +++ b/editor/editor_fonts.cpp @@ -64,7 +64,7 @@ Ref<DynamicFont> 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 { \ |