Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 11, 2022
1 parent a3c1e1d commit e57c8e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/gui/qgsprojectionselectiondialog.cpp
Expand Up @@ -135,17 +135,17 @@ void QgsCrsSelectionWidget::setShowNoCrs( bool show )
mComboCrsType->removeItem( 0 );
}

if ( show && mDeferedInvalidCrsSet )
if ( show && mDeferredInvalidCrsSet )
{
mComboCrsType->setCurrentIndex( 0 );
}

mBlockSignals--;

if ( mDeferedInvalidCrsSet )
if ( mDeferredInvalidCrsSet )
emit crsChanged();

mDeferedInvalidCrsSet = false;
mDeferredInvalidCrsSet = false;

emit hasValidSelectionChanged( hasValidSelection() );
}
Expand All @@ -171,7 +171,7 @@ bool QgsCrsSelectionWidget::hasValidSelection() const
{
if ( !mComboCrsType->currentData().isValid() )
return true;
else if ( mDeferedInvalidCrsSet )
else if ( mDeferredInvalidCrsSet )
return false;
else
{
Expand Down Expand Up @@ -211,7 +211,7 @@ void QgsCrsSelectionWidget::setCrs( const QgsCoordinateReferenceSystem &crs )
if ( mShowNoCrsOption )
mComboCrsType->setCurrentIndex( 0 );
else
mDeferedInvalidCrsSet = true;
mDeferredInvalidCrsSet = true;
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsprojectionselectiondialog.h
Expand Up @@ -139,7 +139,7 @@ class GUI_EXPORT QgsCrsSelectionWidget : public QgsPanelWidget, private Ui::QgsG

QString mNotSetText;
bool mShowNoCrsOption = false;
bool mDeferedInvalidCrsSet = false;
bool mDeferredInvalidCrsSet = false;
int mBlockSignals = 0;

};
Expand Down

0 comments on commit e57c8e3

Please sign in to comment.