From 0dcfeeead1c50ba8001999006d8d93a67d7f6d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 27 Jun 2021 21:27:02 +0200 Subject: [PATCH] Fixed error handling --- src/map/prjfile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); + } }