1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 11:52:08 +01:00

Fixed error handling

This commit is contained in:
Martin Tůma 2021-06-27 21:27:02 +02:00
parent af9ba34521
commit 0dcfeeead1

View File

@ -778,6 +778,8 @@ PRJFile::PRJFile(const QString &fileName)
if (ctx.token == EOI) {
if (!_projection.isValid())
_errorString = "unknown/incomplete projection";
} else
} else {
error(ctx);
_projection = Projection();
}
}