fix not updated dynamic text
This commit is contained in:
committed by
Raphael Coeffic
parent
997515f0ee
commit
44b508ebc8
+1
-1
@@ -180,7 +180,7 @@ class DynamicText: public StaticText
|
||||
StaticText::checkEvents();
|
||||
std::string newText = textHandler();
|
||||
if (newText != text) {
|
||||
text = newText;
|
||||
setText(newText);
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user