Fix late update SetText

This commit is contained in:
scorpion-26 2023-03-04 22:07:25 +01:00
parent ad92b7c12a
commit f2bc8e00c8

View file

@ -497,7 +497,7 @@ void Text::SetText(const std::string& text)
{ {
if (m_Widget && text != m_Text) if (m_Widget && text != m_Text)
{ {
gtk_label_set_text((GtkLabel*)m_Widget, m_Text.c_str()); gtk_label_set_text((GtkLabel*)m_Widget, text.c_str());
} }
m_Text = text; m_Text = text;
} }