Skip to content

Commit

Permalink
Make datum ensemble widget warnings opt-in, not opt-out
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 11, 2021
1 parent e66d75a commit 23f35f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectionwidget.cpp
Expand Up @@ -67,7 +67,7 @@ QgsProjectionSelectionWidget::QgsProjectionSelectionWidget( QWidget *parent )
warningLayout->insertWidget( 1, mWarningLabel );
mWarningLabelContainer->setLayout( warningLayout );
layout->addWidget( mWarningLabelContainer );
updateWarning();
mWarningLabelContainer->hide();

layout->addSpacing( labelMargin / 2 );

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectionwidget.h
Expand Up @@ -174,7 +174,7 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
QString mNotSetText;
QString mMessage;

bool mShowDatumEnsembleWarnings = true;
bool mShowDatumEnsembleWarnings = false;
QWidget *mWarningLabelContainer = nullptr;
QLabel *mWarningLabel = nullptr;

Expand Down

0 comments on commit 23f35f3

Please sign in to comment.