[qet] [3312] Folio list read Default Properties Xml

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3312
Author:   scorpio810
Date:     2014-09-18 18:42:20 +0200 (Thu, 18 Sep 2014)
Log Message:
-----------
Folio list read Default Properties Xml

Modified Paths:
--------------
    trunk/sources/qetproject.cpp

Modified: trunk/sources/qetproject.cpp
===================================================================
--- trunk/sources/qetproject.cpp	2014-09-18 15:16:32 UTC (rev 3311)
+++ trunk/sources/qetproject.cpp	2014-09-18 16:42:20 UTC (rev 3312)
@@ -1027,10 +1027,6 @@
 	// la racine du document XML est sensee etre un element "project"
 	if (root_elmt.tagName() == "project") {
 
-		// if there is an attribute for folioSheetQuantity, then set it accordingly.
-		// If not, then the value remains at the initial value of zero.
-		if (root_elmt.hasAttribute("folioSheetQuantity"))
-			addNewDiagramFolioList();
 
 		// mode d'ouverture normal
 		if (root_elmt.hasAttribute("version")) {
@@ -1067,10 +1063,15 @@
 	
 	// load the project-wide properties
 	readProjectPropertiesXml();
-	
+
 	// charge les proprietes par defaut pour les nouveaux schemas
 	readDefaultPropertiesXml();
 	
+	// if there is an attribute for folioSheetQuantity, then set it accordingly.
+	// If not, then the value remains at the initial value of zero.
+	if (root_elmt.hasAttribute("folioSheetQuantity"))
+		addNewDiagramFolioList();
+
 	// load the embedded titleblock templates
 	readEmbeddedTemplatesXml();
 	
@@ -1079,7 +1080,7 @@
 	
 	// charge les schemas
 	readDiagramsXml();
-	
+
 	state_ = Ok;
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/