[QGIS Commit] r11186 - trunk/qgis/src/core/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Jul 27 15:54:57 EDT 2009


Author: mhugent
Date: 2009-07-27 15:54:56 -0400 (Mon, 27 Jul 2009)
New Revision: 11186

Modified:
   trunk/qgis/src/core/composer/qgscomposermap.cpp
Log:
Fix for composer map crash when doing fast zooms with mouse wheel

Modified: trunk/qgis/src/core/composer/qgscomposermap.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgscomposermap.cpp	2009-07-27 16:22:13 UTC (rev 11185)
+++ trunk/qgis/src/core/composer/qgscomposermap.cpp	2009-07-27 19:54:56 UTC (rev 11186)
@@ -307,6 +307,11 @@
 
 void QgsComposerMap::zoomContent( int delta, double x, double y )
 {
+  if(mDrawing)
+  {
+    return;
+  }
+
   QSettings settings;
 
   //read zoom mode



More information about the QGIS-commit mailing list