mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-03 01:04:13 +02:00
61a160fa62
Apply the same split readSettings()/readSettingsState() pattern from QETDiagramEditor to the other two main windows: - QETElementEditor: split in constructor, call readSettingsState() after show() - QETTitleBlockTemplateEditor: split readSettings(), callers call readSettingsState() after show() (newTemplate + 2x openTitleBlockTemplate) - Remove destructive settings.remove() guards that would delete saved state on every Qt6 launch when restoreState() fails before show() Co-authored-by: ispyisail