#2888: Correct font check in BaseComponent

This commit is contained in:
Erik Eide 2020-07-06 08:10:30 +10:00 committed by md_5
parent 637e7e93e0
commit 4794fccfb8
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -299,7 +299,7 @@ public abstract class BaseComponent
*/
public String getFont()
{
if ( color == null )
if ( font == null )
{
if ( parent == null )
{