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 70e2dc3b8fda8cdc0c730cfcc9fddbbbe2627ce9
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gui/qgsprojectionselector.cpp
@@ -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.