mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Correction : l'application enregistrait les schemas lorsque l'on faisait un copier/coller.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@604 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -729,7 +729,7 @@ void QETProject::readDiagramsXml() {
|
||||
QDomElement diagram_xml_element = diagram_nodes.at(i).toElement();
|
||||
Diagram *diagram = new Diagram();
|
||||
diagram -> setProject(this);
|
||||
bool diagram_loading = diagram -> fromXml(diagram_xml_element);
|
||||
bool diagram_loading = diagram -> initFromXml(diagram_xml_element);
|
||||
if (diagram_loading) {
|
||||
// recupere l'attribut order du schema
|
||||
int diagram_order = -1;
|
||||
|
||||
Reference in New Issue
Block a user