Fix default font name check
This commit is contained in:
parent
aa8f091035
commit
263513b8cf
|
@ -69,7 +69,7 @@ FONT* FONT::getDefaultFont()
|
|||
|
||||
FONT* FONT::GetFont( const wxString& aFontName, bool aBold, bool aItalic )
|
||||
{
|
||||
if( aFontName.empty() || aFontName == wxT( "KiCad" ) )
|
||||
if( aFontName.empty() || aFontName == wxT( "KiCad Font" ) )
|
||||
return getDefaultFont();
|
||||
|
||||
std::tuple<wxString, bool, bool> key = { aFontName, aBold, aItalic };
|
||||
|
|
Loading…
Reference in New Issue