Skip to content
Permalink
Browse files
Highlight deprecated transformations in red
Another way to dissuade users from mistakenly choosing these
transformations

Sponsored by ICSM
  • Loading branch information
nyalldawson committed Mar 19, 2019
1 parent e58cccb commit 9de67c8
Showing 1 changed file with 3 additions and 2 deletions.
@@ -94,9 +94,10 @@ void QgsDatumTransformDialog::load( const QPair<int, int> &selectedDatumTransfor
if ( info.datumTransformId == -1 )
continue;

if ( mHideDeprecatedCheckBox->isChecked() && info.deprecated )
if ( info.deprecated )
{
itemHidden = true;
itemHidden = mHideDeprecatedCheckBox->isChecked();
item->setForeground( QBrush( QColor( 255, 0, 0 ) ) );
}

QString toolTipString;

0 comments on commit 9de67c8

Please sign in to comment.