viewer: zoom to full extent of map when loading from xml
This commit is contained in:
parent
3bedc85774
commit
b4851dcb78
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ void MainWindow::load_map_file(QString const& filename)
|
|||
}
|
||||
layerTab_->setModel(new LayerListModel(map,this));
|
||||
styleTab_->setModel(new StyleModel(map,this));
|
||||
zoom_all();
|
||||
}
|
||||
|
||||
void MainWindow::zoom_to_box()
|
||||
|
|
Loading…
Reference in a new issue