mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-12 00:06:43 -04:00
enable canvas rotation support by default
This commit is contained in:
parent
93e22264c3
commit
204e7104fc
@ -1726,7 +1726,7 @@ void QgisApp::createStatusBar()
|
||||
statusBar()->addPermanentWidget( mScaleEdit, 0 );
|
||||
connect( mScaleEdit, SIGNAL( scaleChanged() ), this, SLOT( userScale() ) );
|
||||
|
||||
if ( QSettings().value( "/qgis/canvasRotation", false ).toBool() )
|
||||
if ( QSettings().value( "/qgis/canvasRotation", true ).toBool() )
|
||||
{
|
||||
// add a widget to show/set current rotation
|
||||
mRotationLabel = new QLabel( QString(), statusBar() );
|
||||
|
@ -583,7 +583,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
|
||||
cbxCopyWKTGeomFromTable->setChecked( settings.value( "/qgis/copyGeometryAsWKT", true ).toBool() );
|
||||
leNullValue->setText( settings.value( "qgis/nullValue", "NULL" ).toString() );
|
||||
cbxIgnoreShapeEncoding->setChecked( settings.value( "/qgis/ignoreShapeEncoding", true ).toBool() );
|
||||
cbxCanvasRotation->setChecked( settings.value( "/qgis/canvasRotation", false ).toBool() );
|
||||
cbxCanvasRotation->setChecked( settings.value( "/qgis/canvasRotation", true ).toBool() );
|
||||
|
||||
cmbLegendDoubleClickAction->setCurrentIndex( settings.value( "/qgis/legendDoubleClickAction", 0 ).toInt() );
|
||||
|
||||
|
@ -904,7 +904,7 @@ double QgsMapCanvas::rotation() const
|
||||
|
||||
void QgsMapCanvas::setRotation( double degrees )
|
||||
{
|
||||
if ( !QSettings().value( "/qgis/canvasRotation", false ).toBool() )
|
||||
if ( !QSettings().value( "/qgis/canvasRotation", true ).toBool() )
|
||||
return;
|
||||
|
||||
double current = rotation();
|
||||
|
Loading…
x
Reference in New Issue
Block a user