mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
Fix late update SetText
This commit is contained in:
parent
ad92b7c12a
commit
f2bc8e00c8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue