mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 11:52:08 +01:00
Fixed broken map enable condition
(falsly enabled map can crash)
This commit is contained in:
parent
a56c02953f
commit
412ae74bfa
@ -13,7 +13,7 @@ public:
|
||||
{
|
||||
map->setParent(this);
|
||||
setData(QVariant::fromValue(map));
|
||||
setEnabled(map->isValid());
|
||||
setEnabled(map->isReady());
|
||||
connect(map, SIGNAL(mapLoaded()), this, SLOT(mapLoaded()));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user