Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for a crash in projection selection
  • Loading branch information
wonder-sk committed Oct 11, 2011
1 parent d1c05db commit c0dc60b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsprojectionselector.cpp
Expand Up @@ -828,7 +828,8 @@ void QgsProjectionSelector::coordinateSystemSelected( QTreeWidgetItem * theItem
else
{
// Not an CRS - remove the highlight so the user doesn't get too confused
theItem->setSelected( false );
if ( theItem )
theItem->setSelected( false );
teProjection->setText( "" );
}
}
Expand Down

0 comments on commit c0dc60b

Please sign in to comment.