summaryrefslogtreecommitdiffstats
path: root/gui/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/text.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/text.cpp b/gui/text.cpp
index 715880b62..c594f4824 100644
--- a/gui/text.cpp
+++ b/gui/text.cpp
@@ -222,8 +222,10 @@ std::string GUIText::parseText(void)
}
}
-int GUIText::NotifyVarChange(std::string varName, std::string value)
+int GUIText::NotifyVarChange(const std::string& varName, const std::string& value)
{
+ GUIObject::NotifyVarChange(varName, value);
+
mVarChanged = 1;
return 0;
}