1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Handle Orux maps as directories

(there can not be two Orux maps in the same directory)
This commit is contained in:
Martin Tůma 2022-08-05 08:40:38 +02:00
parent 0ef28cda0f
commit 6e40d8cbc7

View File

@ -482,7 +482,7 @@ Coordinates OruxMap::xy2ll(const QPointF &p)
Map *OruxMap::create(const QString &path, const Projection &, bool *isDir)
{
if (isDir)
*isDir = false;
*isDir = true;
return new OruxMap(path);
}