[QGIS Commit] r11394 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Aug 16 01:43:10 EDT 2009
Author: mhugent
Date: 2009-08-16 01:43:06 -0400 (Sun, 16 Aug 2009)
New Revision: 11394
Modified:
trunk/qgis/src/app/qgsmaptoolidentify.cpp
Log:
Fix for a crash if the identify dialog is open, the project changed and a layer removed before the first identify click in the new project
Modified: trunk/qgis/src/app/qgsmaptoolidentify.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolidentify.cpp 2009-08-16 02:38:22 UTC (rev 11393)
+++ trunk/qgis/src/app/qgsmaptoolidentify.cpp 2009-08-16 05:43:06 UTC (rev 11394)
@@ -529,6 +529,7 @@
delete mRubberBand;
mRubberBand = 0;
}
+ mLayer = 0;
}
}
}
More information about the QGIS-commit
mailing list