viewer: zoom to full extent of map when loading from xml

This commit is contained in:
Dane Springmeyer 2010-07-15 23:08:22 +00:00
parent 3bedc85774
commit b4851dcb78

View file

@ -185,6 +185,7 @@ void MainWindow::load_map_file(QString const& filename)
} }
layerTab_->setModel(new LayerListModel(map,this)); layerTab_->setModel(new LayerListModel(map,this));
styleTab_->setModel(new StyleModel(map,this)); styleTab_->setModel(new StyleModel(map,this));
zoom_all();
} }
void MainWindow::zoom_to_box() void MainWindow::zoom_to_box()