gui: fix condition handling for lists
Base class must be called first, otherwise the condition can never
again become true. Fixes font size switching in Material theme.
Change-Id: I160a733549495e1bde3cead56b0a3582f0dc744c
diff --git a/gui/partitionlist.cpp b/gui/partitionlist.cpp
index 7e5a74f..e9c1652 100644
--- a/gui/partitionlist.cpp
+++ b/gui/partitionlist.cpp
@@ -145,11 +145,11 @@
int GUIPartitionList::NotifyVarChange(const std::string& varName, const std::string& value)
{
+ GUIScrollList::NotifyVarChange(varName, value);
+
if(!isConditionTrue())
return 0;
- GUIScrollList::NotifyVarChange(varName, value);
-
if (varName == mVariable && !mUpdate)
{
if (ListType == "storage") {