mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-24 07:54:13 +02:00
8b59bcb992
The labelling of the terminals is a setting of the project, so that the same file draws the same way on every machine which opens it. A new project has to start with something, though, and that is now a default of the application: Configure QElectroTech > New project, on the sheet tab, the same group box with the same two choices the project properties use -- what it saves is only what a new project starts with. Off unless the settings say otherwise, so a new project draws the whole label in one field, as it always did, and a project saved after that keeps its own choice (readTerminalLabelSplitXml()). The settings key starts with "diagrameditor/default", the prefix of the new-project part of a configuration profile, so the choice travels with the other defaults of a new project. The project gets the setting in its own properties and nowhere else: the page of the new sheets does not offer it, and the tests say so.