Use a better setOverrideFont in ribbon widget

This commit is contained in:
CodingJellyfish 2024-04-22 10:56:01 +08:00
parent 34119e1c5f
commit f6836998f0

View File

@ -896,7 +896,7 @@ void RibbonWidget::resize()
}
else
{
label->setOverrideFont(GUIEngine::getFont());
label->setOverrideFont(NULL);
}
}
else
@ -980,7 +980,7 @@ void RibbonWidget::resize()
}
else
{
label->setOverrideFont(GUIEngine::getFont());
label->setOverrideFont(NULL);
}
}
else