mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Fixed error handling
This commit is contained in:
parent
af9ba34521
commit
0dcfeeead1
@ -778,6 +778,8 @@ PRJFile::PRJFile(const QString &fileName)
|
|||||||
if (ctx.token == EOI) {
|
if (ctx.token == EOI) {
|
||||||
if (!_projection.isValid())
|
if (!_projection.isValid())
|
||||||
_errorString = "unknown/incomplete projection";
|
_errorString = "unknown/incomplete projection";
|
||||||
} else
|
} else {
|
||||||
|
error(ctx);
|
||||||
_projection = Projection();
|
_projection = Projection();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user