Skip to content

Commit 2b7e49b

Browse files
committed
actually make canvas rotation available (followup 916a27f)
1 parent 8cc8eae commit 2b7e49b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/qgsmapcanvas.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,8 @@ double QgsMapCanvas::rotation() const
899899

900900
void QgsMapCanvas::setRotation( double degrees )
901901
{
902-
if ( ! getenv( "QGIS_ENABLE_CANVAS_ROTATION" ) ) return;
902+
if ( !QSettings().value( "/qgis/canvasRotation", false ).toBool() )
903+
return;
903904

904905
double current = rotation();
905906

0 commit comments

Comments
 (0)