summaryrefslogtreecommitdiffstats
path: root/gui/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/input.cpp')
-rw-r--r--gui/input.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/input.cpp b/gui/input.cpp
index b0065609e..61b0cff1f 100644
--- a/gui/input.cpp
+++ b/gui/input.cpp
@@ -591,8 +591,10 @@ int GUIInput::NotifyTouch(TOUCH_STATE state, int x, int y)
return 0;
}
-int GUIInput::NotifyVarChange(std::string varName, std::string value)
+int GUIInput::NotifyVarChange(const std::string& varName, const std::string& value)
{
+ GUIObject::NotifyVarChange(varName, value);
+
if (varName == mVariable && !isLocalChange) {
HandleTextLocation(-1003);
return 0;