Skip to content

Commit ab06ccd

Browse files
committedJun 29, 2015
datum transformation selection: fix crash on 'hide deprecated' (fixes #12719)
(cherry picked from commit 1bd3776)
1 parent 9c1186a commit ab06ccd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/qgsdatumtransformdialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ void QgsDatumTransformDialog::on_mHideDeprecatedCheckBox_stateChanged( int )
230230

231231
void QgsDatumTransformDialog::on_mDatumTransformTreeWidget_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem * )
232232
{
233+
if ( !current )
234+
return;
235+
233236
mLabelSrcDescription->setText( current->toolTip( 0 ) );
234237
mLabelDstDescription->setText( current->toolTip( 1 ) );
235238
}

0 commit comments

Comments
 (0)
Please sign in to comment.