Fix effect group collapse state not saved

parent 9ea290da
......@@ -166,7 +166,7 @@ public:
if (value.isEmpty()) return;
QStringList data = value.split("/");
isCollapsed = data.at(0).toInt() == 1 || data.at(0).toInt() == 3;
groupIsCollapsed = data.at(0).toInt() == 3;
groupIsCollapsed = data.at(0).toInt() >= 2;
if (data.count() > 1) groupIndex = data.at(1).toInt();
if (data.count() > 2) groupName = data.at(2);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment