Skip to content
Permalink
Browse files

adapt path

(cherry picked from commit 2bd6c27)
  • Loading branch information
roya0045 authored and nyalldawson committed Dec 21, 2020
1 parent 4eb8f10 commit 710d99a24b0aa27de649bef65fd8bddc91373121
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgshandlebadlayers.cpp
@@ -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 };

0 comments on commit 710d99a

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