From 3b07140879721872ea67fedefc7eca8efca760c9 Mon Sep 17 00:00:00 2001 From: jef Date: Thu, 11 Dec 2008 13:34:18 +0000 Subject: [PATCH] update scale display after project load git-svn-id: http://svn.osgeo.org/qgis/trunk@9772 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgisapp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index b2365b05241..ed855d36777 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -2920,6 +2920,9 @@ bool QgisApp::addProject( QString projectFile ) mMapCanvas->setCanvasColor( myColor ); //this is fill colour before rendering starts QgsDebugMsg( "Canvas background color restored..." ); + mMapCanvas->updateScale(); + QgsDebugMsg( "Scale restored..." ); + emit projectRead(); // let plug-ins know that we've read in a new // project so that they can check any project // specific plug-in state