mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Handle Orux maps as directories
(there can not be two Orux maps in the same directory)
This commit is contained in:
parent
0ef28cda0f
commit
6e40d8cbc7
@ -482,7 +482,7 @@ Coordinates OruxMap::xy2ll(const QPointF &p)
|
|||||||
Map *OruxMap::create(const QString &path, const Projection &, bool *isDir)
|
Map *OruxMap::create(const QString &path, const Projection &, bool *isDir)
|
||||||
{
|
{
|
||||||
if (isDir)
|
if (isDir)
|
||||||
*isDir = false;
|
*isDir = true;
|
||||||
|
|
||||||
return new OruxMap(path);
|
return new OruxMap(path);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user