Skip to content

Commit

Permalink
Fix for a crash in projection selection
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk authored and mach0 committed Nov 13, 2011
1 parent 34c3f0d commit e5ee9f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsprojectionselector.cpp
Original file line number Diff line number Diff line change
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 e5ee9f7

Please sign in to comment.