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 12, 2019
1 parent e58cccb commit 9de67c88717d7374988a727f293754453c27dd7d
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/gui/qgsdatumtransformdialog.cpp
@@ -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.
You can’t perform that action at this time.