Skip to content
Permalink
Browse files

Fix #10525 (zoom to the first layer not always working)

  • Loading branch information
wonder-sk committed Jun 13, 2014
1 parent bbe0535 commit 840d5c567cfe1f85cff8e8724a2a1ea5e3d0b867
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgisapp.cpp
@@ -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" );
@@ -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;

0 comments on commit 840d5c5

Please sign in to comment.
You can’t perform that action at this time.