Skip to content

Commit

Permalink
datum transformation selection: fix crash on 'hide deprecated' (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 2, 2015
1 parent ed47ef9 commit 1bd3776
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsdatumtransformdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ void QgsDatumTransformDialog::on_mHideDeprecatedCheckBox_stateChanged( int )

void QgsDatumTransformDialog::on_mDatumTransformTreeWidget_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem * )
{
if ( !current )
return;

mLabelSrcDescription->setText( current->toolTip( 0 ) );
mLabelDstDescription->setText( current->toolTip( 1 ) );
}
Expand Down

0 comments on commit 1bd3776

Please sign in to comment.