From b4851dcb78470656d5a3cf2b84c3a646e8a3fdbe Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 15 Jul 2010 23:08:22 +0000 Subject: [PATCH] viewer: zoom to full extent of map when loading from xml --- demo/viewer/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/viewer/mainwindow.cpp b/demo/viewer/mainwindow.cpp index 0b53586de..a4da2a683 100644 --- a/demo/viewer/mainwindow.cpp +++ b/demo/viewer/mainwindow.cpp @@ -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()