Commit 5003810 borysiasty
committed
1 parent 89b09d1 commit 5003810 Copy full SHA for 5003810
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2519,6 +2519,8 @@ void QgisApp::fileNew( bool thePromptToSaveFlag )
2519
2519
// enable OTF CRS transformation if necessary
2520
2520
myRenderer->setProjectionsEnabled ( settings.value ( " /Projections/otfTransformEnabled" , 0 ).toBool () );
2521
2521
2522
+ updateCRSStatusBar ();
2523
+
2522
2524
// set the initial map tool
2523
2525
mMapCanvas ->setMapTool ( mMapTools .mPan );
2524
2526
mNonEditMapTool = mMapTools .mPan ; // signals are not yet setup to catch this
@@ -5378,14 +5380,14 @@ void QgisApp::updateCRSStatusBar()
5378
5380
{
5379
5381
mOnTheFlyProjectionStatusLabel ->setEnabled ( true );
5380
5382
mOnTheFlyProjectionStatusLabel ->setToolTip (
5381
- tr ( " Current CRS: %1" ).arg ( mMapCanvas ->mapRenderer ()->destinationCrs ().description () ) );
5383
+ tr ( " Current CRS: %1 (OTFR enabled) " ).arg ( mMapCanvas ->mapRenderer ()->destinationCrs ().description () ) );
5382
5384
mOnTheFlyProjectionStatusButton ->setIcon ( getThemeIcon ( " mIconProjectionEnabled.png" ) );
5383
5385
}
5384
5386
else
5385
5387
{
5386
5388
mOnTheFlyProjectionStatusLabel ->setEnabled ( false );
5387
5389
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 () ) );
5389
5391
mOnTheFlyProjectionStatusButton ->setIcon ( getThemeIcon ( " mIconProjectionDisabled.png" ) );
5390
5392
}
5391
5393
}
You can’t perform that action at this time.
0 commit comments