qelectrotech/qelectrotech-source-mirror

Label is not shown in old project

Murmele opened this issue · 0 comments

When opening this project in qet master (30f8989) the first time, on the second side of the element a label with 14 is shown. When saving the project and reopening the project. The label is still there, but the number is not shown anymore. This bug is also in older versions.

I investigated some time, but was not able to find the problem. I don't understand where the text gets changed.

The difference between the project and the resaved project is, that the element in the diagram section is stored as dynamicTextElement and anymore as "Input" Element.

When checking out element.cpp: Element::fromXML() I see a lot of compatibility code. I think the problems lies there.

affuteuse_250h_small.qet.zip