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
…12719)

(cherry picked from commit 1bd3776)
  • Loading branch information
jef-n committed Jun 29, 2015
1 parent 9c1186a commit ab06ccd
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 ab06ccd

Please sign in to comment.