Skip to content
Permalink
Browse files

adapt path

  • Loading branch information
roya0045 authored and nyalldawson committed Dec 21, 2020
1 parent 67a8c30 commit 2bd6c2758dc9bebdfd816356b1ed53fe484391bf
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 2bd6c27

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