Folio list read Default Properties Xml

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3312 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-09-18 16:42:20 +00:00
parent a16d4dd935
commit f3aeb872c3

View File

@@ -1027,10 +1027,6 @@ void QETProject::readProjectXml() {
// 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")) {
@@ -1071,6 +1067,11 @@ void QETProject::readProjectXml() {
// 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();