summaryrefslogtreecommitdiffstats
path: root/gui/listbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/listbox.cpp')
-rw-r--r--gui/listbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/listbox.cpp b/gui/listbox.cpp
index 89a2c0322..37ba958c1 100644
--- a/gui/listbox.cpp
+++ b/gui/listbox.cpp
@@ -122,11 +122,11 @@ int GUIListBox::Update(void)
int GUIListBox::NotifyVarChange(const std::string& varName, const std::string& value)
{
+ GUIScrollList::NotifyVarChange(varName, value);
+
if(!isConditionTrue())
return 0;
- GUIScrollList::NotifyVarChange(varName, value);
-
// Check to see if the variable that we are using to store the list selected value has been updated
if (varName == mVariable) {
int i, listSize = mList.size();