Dear
Yesterday a partner saved a diagram and close qet without problems, after that, he cant open the diagram.
We are using a dev version from few days ago.
What I saw:
In conductor.cpp the constructor ends because the following check.
// en cas d'echec de l'ajout (conducteur deja existant notamment)
if (!ajout_p1 || !ajout_p2)
{
return;
}
Then because the statement is after
// ajout du champ de texte editable
text_item = new ConductorTextItem(properties_.text, this);
text_item is not created.
In diagram.cpp at line 763
Conductor *c = new Conductor(table_adr_id.value(id_p1), table_adr_id.value(id_p2));
addItem(c);
c -> fromXml(f);
added_conductors << c;
text_item is used inside fromXml then the software crash.
attached the qet file.