[QGIS Commit] r9772 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Dec 11 08:34:18 EST 2008


Author: jef
Date: 2008-12-11 08:34:18 -0500 (Thu, 11 Dec 2008)
New Revision: 9772

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
update scale display after project load

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2008-12-11 11:07:51 UTC (rev 9771)
+++ trunk/qgis/src/app/qgisapp.cpp	2008-12-11 13:34:18 UTC (rev 9772)
@@ -2920,6 +2920,9 @@
       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



More information about the QGIS-commit mailing list