From 1539628f24d2f5feed1f4c8366e374ca212d29b4 Mon Sep 17 00:00:00 2001 From: xavier Date: Fri, 29 Jun 2012 05:21:30 +0000 Subject: [PATCH] Fixed a bug preventing the storage of custom variables in Configure QElectroTech > New Diagram. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1876 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/titleblockproperties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/titleblockproperties.cpp b/sources/titleblockproperties.cpp index edcc80421..e54fbc2e6 100644 --- a/sources/titleblockproperties.cpp +++ b/sources/titleblockproperties.cpp @@ -126,6 +126,7 @@ void TitleBlockProperties::toSettings(QSettings &settings, const QString &prefix settings.setArrayIndex(i); settings.setValue("name", key); settings.setValue("value", context[key].toString()); + ++ i; } settings.endArray(); }