Skip to content
Browse files
Hide deprecated datum transforms by default
Instead of showing by default and requiring users to manually
hide them, reverse this logic and hide deprecated ones by default
and require motivated users to manually opt in to showing them.

Result: less likely for users to accidentally use deprecated

Sponsored by ICSM
  • Loading branch information
nyalldawson committed Mar 19, 2019
1 parent c60d559 commit e58cccb2a2e5b2f6c278e0c99405a836fb4d91c5
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/qgsdatumtransformdialog.cpp
  2. +1 −1 src/ui/qgsdatumtransformdialogbase.ui
@@ -59,7 +59,7 @@ QgsDatumTransformDialog::QgsDatumTransformDialog( const QgsCoordinateReferenceSy

QgsSettings settings;
restoreGeometry( settings.value( QStringLiteral( "Windows/DatumTransformDialog/geometry" ) ).toByteArray() );
mHideDeprecatedCheckBox->setChecked( settings.value( QStringLiteral( "Windows/DatumTransformDialog/hideDeprecated" ), false ).toBool() );
mHideDeprecatedCheckBox->setChecked( settings.value( QStringLiteral( "Windows/DatumTransformDialog/hideDeprecated" ), true ).toBool() );

@@ -32,7 +32,7 @@
<widget class="QCheckBox" name="mHideDeprecatedCheckBox">
<property name="text">
<string>Hide deprecated</string>
<string>Hide deprecated transformations</string>

0 comments on commit e58cccb

Please sign in to comment.