Skip to content

Commit f95951b

Browse files
author
g_j_m
committed
Fix for a crash. May be the cause of tickets #275 and #268
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5992 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 37af419 commit f95951b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/qgsmaptoolidentify.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,5 +423,6 @@ void QgsMapToolIdentify::resultsDialogGone()
423423

424424
void QgsMapToolIdentify::deactivate()
425425
{
426-
mResults->done(0); // close the window
426+
if (mResults)
427+
mResults->done(0); // close the window
427428
}

0 commit comments

Comments
 (0)