Skip to content
Permalink
Browse files

Datum transform table should not be editable

  • Loading branch information
nyalldawson committed Mar 12, 2019
1 parent df9db1f commit b42b348bf8de75aa20cd78adfefaeae5adfd045c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsdatumtransformdialog.cpp
@@ -88,6 +88,7 @@ void QgsDatumTransformDialog::load( QPair<int, int> selectedDatumTransforms )
std::unique_ptr< QTableWidgetItem > item = qgis::make_unique< QTableWidgetItem >();
int nr = i == 0 ? transform.sourceTransformId : transform.destinationTransformId;
item->setData( Qt::UserRole, nr );
item->setFlags( item->flags() & ~Qt::ItemIsEditable );

item->setText( QgsDatumTransform::datumTransformToProj( nr ) );

0 comments on commit b42b348

Please sign in to comment.
You can’t perform that action at this time.