We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b03d61d commit d0a4b5bCopy full SHA for d0a4b5b
src/app/qgshandlebadlayers.cpp
@@ -437,6 +437,10 @@ void QgsHandleBadLayers::apply()
437
else
438
{
439
item->setForeground( QBrush( Qt::red ) );
440
+ if ( mFileBase[ name ].size() == 1 )
441
+ mFileBase[ name ][0] = basepath ;
442
+ else if ( mFileBase[ name ].size() > 1 )
443
+ mFileBase[ name ].append( basepath );
444
}
445
446
@@ -490,4 +494,4 @@ void QgsHandleBadLayers::accept()
490
494
int QgsHandleBadLayers::layerCount()
491
495
492
496
return mLayerList->rowCount();
493
-}
497
+}
0 commit comments