1
0
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:
Martin Tůma 2020-04-05 10:38:16 +02:00
parent a56c02953f
commit 412ae74bfa

View File

@ -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()));
}