Skip to content

Commit

Permalink
Dont apply otf settings to current project after closing options box …
Browse files Browse the repository at this point in the history
…- it should only be used when a new project is created.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15421 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Mar 10, 2011
1 parent 635bc69 commit 0d58fd6
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4819,16 +4819,7 @@ void QgisApp::options()
{
myRenderer->setMapUnits( srs.mapUnits() );
}

//apply OTF CRS transformation if necessary
if ( mySettings.value( "/Projections/otfTransformEnabled", 0 ).toBool() )
{
myRenderer->setProjectionsEnabled( true );
}
else
{
myRenderer->setProjectionsEnabled( false );
}
//do we need this? TS
mMapCanvas->refresh();
}

Expand Down

0 comments on commit 0d58fd6

Please sign in to comment.