mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-20 09:40:49 +01:00
Improved DEM coverage UX
This commit is contained in:
parent
8e2ff85aaa
commit
28a71cbc39
@ -1735,10 +1735,18 @@ void GUI::demLoaded()
|
|||||||
|
|
||||||
void GUI::showDEMTiles()
|
void GUI::showDEMTiles()
|
||||||
{
|
{
|
||||||
_mapView->loadDEMs(DEM::tiles());
|
QList<Area> tiles(DEM::tiles());
|
||||||
|
|
||||||
_fileActionGroup->setEnabled(true);
|
if (tiles.isEmpty()) {
|
||||||
_reloadFileAction->setEnabled(false);
|
QMessageBox::information(this, APP_NAME, tr("No local DEM tiles found."));
|
||||||
|
} else {
|
||||||
|
_mapView->loadDEMs(tiles);
|
||||||
|
|
||||||
|
_areaCount += tiles.size();
|
||||||
|
|
||||||
|
_fileActionGroup->setEnabled(true);
|
||||||
|
_reloadFileAction->setEnabled(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI::updateStatusBarInfo()
|
void GUI::updateStatusBarInfo()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user