Skip to content

Commit

Permalink
actually make canvas rotation available (followup 916a27f)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 1, 2015
1 parent 8cc8eae commit 2b7e49b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsmapcanvas.cpp
Expand Up @@ -899,7 +899,8 @@ double QgsMapCanvas::rotation() const

void QgsMapCanvas::setRotation( double degrees )
{
if ( ! getenv( "QGIS_ENABLE_CANVAS_ROTATION" ) ) return;
if ( !QSettings().value( "/qgis/canvasRotation", false ).toBool() )
return;

double current = rotation();

Expand Down

0 comments on commit 2b7e49b

Please sign in to comment.