From 50fb1bfe81e432368fb4fff9c8d9aee848e0ebaf Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 19 Jun 2012 11:02:21 +0200 Subject: [PATCH] Fix effect group collapse state not saved --- src/definitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions.h b/src/definitions.h index 5b6c2541..fa226208 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -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); } -- 2.39.2