diff options
Diffstat (limited to 'gui/fileselector.cpp')
-rw-r--r-- | gui/fileselector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/fileselector.cpp b/gui/fileselector.cpp index 4a26349cd..319b11b96 100644 --- a/gui/fileselector.cpp +++ b/gui/fileselector.cpp @@ -171,11 +171,11 @@ int GUIFileSelector::Update(void) int GUIFileSelector::NotifyVarChange(const std::string& varName, const std::string& value) { + GUIScrollList::NotifyVarChange(varName, value); + if(!isConditionTrue()) return 0; - GUIScrollList::NotifyVarChange(varName, value); - if (varName.empty()) { // Always clear the data variable so we know to use it DataManager::SetValue(mVariable, ""); |