Skip to content

Commit

Permalink
adapt path
Browse files Browse the repository at this point in the history
  • Loading branch information
roya0045 authored and nyalldawson committed Dec 21, 2020
1 parent 67a8c30 commit 2bd6c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgshandlebadlayers.cpp
Expand Up @@ -410,7 +410,7 @@ void QgsHandleBadLayers::apply()
}
if ( !( item->data( Qt::UserRole + 2 ).isValid() && item->data( Qt::UserRole + 2 ).toBool() ) )
{
datasource = QDir::toNativeSeparators( checkBasepath( layerId, datasource, fileName ).replace( fileName, longName ) );
datasource = QDir::toNativeSeparators( checkBasepath( layerId, basepath, fileName ).replace( fileName, longName ) );
}

bool dataSourceChanged { false };
Expand Down

0 comments on commit 2bd6c27

Please sign in to comment.