Skip to content
Permalink
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
transforms.

Sponsored by ICSM
  • Loading branch information
nyalldawson committed Mar 12, 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() );

mLabelSrcDescription->clear();
mLabelDstDescription->clear();
@@ -32,7 +32,7 @@
<item>
<widget class="QCheckBox" name="mHideDeprecatedCheckBox">
<property name="text">
<string>Hide deprecated</string>
<string>Hide deprecated transformations</string>
</property>
</widget>
</item>

0 comments on commit e58cccb

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