Skip to content

Commit 5003810

Browse files
author
borysiasty
committed
fix #3590
git-svn-id: http://svn.osgeo.org/qgis/trunk@15517 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 89b09d1 commit 5003810

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/qgisapp.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -2519,6 +2519,8 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
25192519
// enable OTF CRS transformation if necessary
25202520
myRenderer->setProjectionsEnabled( settings.value( "/Projections/otfTransformEnabled", 0 ).toBool() );
25212521

2522+
updateCRSStatusBar();
2523+
25222524
// set the initial map tool
25232525
mMapCanvas->setMapTool( mMapTools.mPan );
25242526
mNonEditMapTool = mMapTools.mPan; // signals are not yet setup to catch this
@@ -5378,14 +5380,14 @@ void QgisApp::updateCRSStatusBar()
53785380
{
53795381
mOnTheFlyProjectionStatusLabel->setEnabled( true );
53805382
mOnTheFlyProjectionStatusLabel->setToolTip(
5381-
tr( "Current CRS: %1" ).arg( mMapCanvas->mapRenderer()->destinationCrs().description() ) );
5383+
tr( "Current CRS: %1 (OTFR enabled)" ).arg( mMapCanvas->mapRenderer()->destinationCrs().description() ) );
53825384
mOnTheFlyProjectionStatusButton->setIcon( getThemeIcon( "mIconProjectionEnabled.png" ) );
53835385
}
53845386
else
53855387
{
53865388
mOnTheFlyProjectionStatusLabel->setEnabled( false );
53875389
mOnTheFlyProjectionStatusLabel->setToolTip(
5388-
tr( "Inactive project CRS: %1" ).arg( mMapCanvas->mapRenderer()->destinationCrs().description() ) );
5390+
tr( "Current CRS: %1 (OTFR disabled)" ).arg( mMapCanvas->mapRenderer()->destinationCrs().description() ) );
53895391
mOnTheFlyProjectionStatusButton->setIcon( getThemeIcon( "mIconProjectionDisabled.png" ) );
53905392
}
53915393
}

0 commit comments

Comments
 (0)