GLabel: Repaint immediately on icon change

This commit is contained in:
Andreas Kling 2019-08-09 23:48:44 +02:00
parent db6ed8eebd
commit 0a061d4314
Notes: sideshowbarker 2024-07-19 12:47:30 +09:00

View File

@ -19,7 +19,10 @@ GLabel::~GLabel()
void GLabel::set_icon(GraphicsBitmap* icon)
{
if (m_icon == icon)
return;
m_icon = icon;
update();
}
void GLabel::set_text(const StringView& text)