summaryrefslogtreecommitdiffstats
path: root/gui/progressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/progressbar.cpp')
-rw-r--r--gui/progressbar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/progressbar.cpp b/gui/progressbar.cpp
index 9c80eb40a..83de4d13b 100644
--- a/gui/progressbar.cpp
+++ b/gui/progressbar.cpp
@@ -172,8 +172,10 @@ int GUIProgressBar::Update(void)
return 2;
}
-int GUIProgressBar::NotifyVarChange(std::string varName, std::string value)
+int GUIProgressBar::NotifyVarChange(const std::string& varName, const std::string& value)
{
+ GUIObject::NotifyVarChange(varName, value);
+
if(!isConditionTrue())
return 0;