Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Synchonize provider data source URI
this is a bugfix (unreported?)
  • Loading branch information
elpaso committed Apr 6, 2020
1 parent 1231aa0 commit 2ed9104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -866,6 +866,9 @@ void QgsRasterLayer::setDataSource( const QString &dataSource, const QString &ba

setDataProvider( provider, options );

if ( mDataProvider )
mDataProvider->setDataSourceUri( mDataSource );

if ( mValid )
{
mTemporalProperties->setDefaultsFromDataProviderTemporalCapabilities( mDataProvider->temporalCapabilities() );
Expand Down

0 comments on commit 2ed9104

Please sign in to comment.