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();
|
StaticText::checkEvents();
|
||||||
std::string newText = textHandler();
|
std::string newText = textHandler();
|
||||||
if (newText != text) {
|
if (newText != text) {
|
||||||
text = newText;
|
setText(newText);
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user