Skip to content

Commit

Permalink
Fix #10525 (zoom to the first layer not always working)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 13, 2014
1 parent bbe0535 commit 840d5c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -2320,7 +2320,6 @@ void QgisApp::initLayerTreeView()

bool otfTransformAutoEnable = QSettings().value( "/Projections/otfTransformAutoEnable", true ).toBool();
mLayerTreeCanvasBridge->setAutoEnableCrsTransform( otfTransformAutoEnable );
mLayerTreeCanvasBridge->setAutoSetupOnFirstLayer( otfTransformAutoEnable );

mMapLayerOrder = new QgsCustomLayerOrderWidget( mLayerTreeCanvasBridge, this );
mMapLayerOrder->setObjectName( "theMapLayerOrder" );
Expand Down Expand Up @@ -7293,7 +7292,6 @@ void QgisApp::showOptionsDialog( QWidget *parent, QString currentPage )

bool otfTransformAutoEnable = mySettings.value( "/Projections/otfTransformAutoEnable", true ).toBool();
mLayerTreeCanvasBridge->setAutoEnableCrsTransform( otfTransformAutoEnable );
mLayerTreeCanvasBridge->setAutoSetupOnFirstLayer( otfTransformAutoEnable );
}

delete optionsDialog;
Expand Down

0 comments on commit 840d5c5

Please sign in to comment.