Skip to content

Commit fe1367b

Browse files
author
mhugent
committed
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
git-svn-id: http://svn.osgeo.org/qgis/trunk@11394 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0c9dc07 commit fe1367b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgsmaptoolidentify.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ void QgsMapToolIdentify::removeLayer( QString layerID )
529529
delete mRubberBand;
530530
mRubberBand = 0;
531531
}
532+
mLayer = 0;
532533
}
533534
}
534535
}

0 commit comments

Comments
 (0)