diff --git a/src/map/prjfile.cpp b/src/map/prjfile.cpp index 7e10a129..00d9ef9c 100644 --- a/src/map/prjfile.cpp +++ b/src/map/prjfile.cpp @@ -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(); + } }