Skip to content
Permalink
Browse files

Add OTF text to CRS button when on the fly is enabled

  • Loading branch information
NathanW2 committed Jan 1, 2015
1 parent c5b5eee commit 246de9f056e0f7e57d11e3a061c28ec7f6b19804
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -8686,6 +8686,7 @@ void QgisApp::updateCRSStatusBar()

if ( mMapCanvas->mapSettings().hasCrsTransformEnabled() )
{
mOnTheFlyProjectionStatusButton->setText( QString("%1 (OTF)").arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTFR enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( "mIconProjectionEnabled.png" ) );

0 comments on commit 246de9f

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