Skip to content

Commit 14c4dea

Browse files
committed
Replaces ProjectionEnable Icons and text
Replaces the OFT enable and Disable Icons to use the same CRS Icon as in options Changes behavior on CRS TEXT showing when OTF is off, instead of when it's ON.
1 parent 0fdd168 commit 14c4dea

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading

‎src/app/qgisapp.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10275,13 +10275,13 @@ void QgisApp::updateCrsStatusBar()
1027510275

1027610276
if ( mMapCanvas->mapSettings().hasCrsTransformEnabled() )
1027710277
{
10278-
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
1027910278
mOnTheFlyProjectionStatusButton->setToolTip(
1028010279
tr( "Current CRS: %1 (OTF enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
1028110280
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mIconProjectionEnabled.svg" ) ) );
1028210281
}
1028310282
else
1028410283
{
10284+
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF off)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
1028510285
mOnTheFlyProjectionStatusButton->setToolTip(
1028610286
tr( "Current CRS: %1 (OTF disabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
1028710287
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mIconProjectionDisabled.svg" ) ) );

0 commit comments

Comments
 (0)