Skip to content
Permalink
Browse files
fix ArcGIS Feature/Map Server connect()
  • Loading branch information
nirvn committed Mar 29, 2017
1 parent 99f186a commit da41af1481d48cf38a4b86824fd603df57490023
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgisapp.cpp
@@ -4643,7 +4643,7 @@ void QgisApp::addAfsLayer()
}
afss->setCurrentExtentAndCrs( mapCanvas()->extent(), mapCanvas()->mapSettings().destinationCrs() );
connect( afss, &QgsSourceSelectDialog::addLayer,
this, [ = ] { addAfsLayer(); } );
this, [ = ]( const QString & uri, const QString & typeName ) { addAfsLayer( uri, typeName ); } );

bool wasFrozen = mapCanvas()->isFrozen();
freezeCanvases();
@@ -4677,7 +4677,7 @@ void QgisApp::addAmsLayer()
}
amss->setCurrentExtentAndCrs( mapCanvas()->extent(), mapCanvas()->mapSettings().destinationCrs() );
connect( amss, &QgsSourceSelectDialog::addLayer,
this, [ = ] { addAmsLayer(); } );
this, [ = ]( const QString & uri, const QString & typeName ) { addAmsLayer( uri, typeName ); } );

bool wasFrozen = mapCanvas()->isFrozen();
freezeCanvases();

0 comments on commit da41af1

Please sign in to comment.