mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-15 10:04:13 +02:00
Merge #1473: no position columns, a later format opened read-only
A symbol changed on a folio kept as it was needs the place its information goes back to: its part is checked for the marker (QetContainer::split()), where the position column said it before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1984,6 +1984,16 @@ bool QETDiagramEditor::openAndAddProject(
|
||||
addProject(project);
|
||||
DialogWaiting::dropInstance();
|
||||
|
||||
if (interactive && project->isFromLaterVersion()) {
|
||||
QET::QetMessageBox::warning(
|
||||
this,
|
||||
tr("Opening the file read-only", "message box title"),
|
||||
tr("This project was saved by a later version of QElectroTech. "
|
||||
"It is opened read-only, so that saving it cannot lose what "
|
||||
"this version does not know. Use Save As to keep a copy "
|
||||
"in this version's format."));
|
||||
}
|
||||
|
||||
//Report font descriptions which could not be read as-is (written by
|
||||
//an incompatible Qt version or corrupted), so the user learns about
|
||||
//it from somewhere else than the console. See issue #553.
|
||||
|
||||
Reference in New Issue
Block a user