Skip to content
Permalink
Browse files
Fix for segfault when changing crs and tabs in projection selector
  • Loading branch information
marco committed Nov 30, 2011
1 parent 241b0b0 commit 70e2dc3
Showing 1 changed file with 4 additions and 1 deletion.
@@ -858,7 +858,10 @@ void QgsProjectionSelector::on_cbxHideDeprecated_stateChanged()

void QgsProjectionSelector::on_lstRecent_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *previous )
{
setSelectedCrsId( current->text( QGIS_CRS_ID_COLUMN ).toLong() );
if ( current )
{
setSelectedCrsId( current->text( QGIS_CRS_ID_COLUMN ).toLong() );
}
}

void QgsProjectionSelector::on_pbnFind_clicked()

0 comments on commit 70e2dc3

Please sign in to comment.