From 44b508ebc8aed16ac7c2f99e6dc5275181f3f9c0 Mon Sep 17 00:00:00 2001 From: gagarinlg Date: Mon, 14 Mar 2022 07:50:46 +0100 Subject: [PATCH] fix not updated dynamic text --- radio/src/thirdparty/libopenui/src/static.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/thirdparty/libopenui/src/static.h b/radio/src/thirdparty/libopenui/src/static.h index 1c8546215..2c44da122 100644 --- a/radio/src/thirdparty/libopenui/src/static.h +++ b/radio/src/thirdparty/libopenui/src/static.h @@ -180,7 +180,7 @@ class DynamicText: public StaticText StaticText::checkEvents(); std::string newText = textHandler(); if (newText != text) { - text = newText; + setText(newText); invalidate(); } }