update scale display after project load

git-svn-id: http://svn.osgeo.org/qgis/trunk@9772 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2008-12-11 13:34:18 +00:00
parent 56b5ba7e55
commit 3b07140879

View File

@ -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