File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments