Skip to content

Commit d0a4b5b

Browse files
authoredMar 21, 2019
keeping track of changes
1 parent b03d61d commit d0a4b5b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/app/qgshandlebadlayers.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,10 @@ void QgsHandleBadLayers::apply()
437437
else
438438
{
439439
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 );
440444
}
441445
}
442446
}
@@ -490,4 +494,4 @@ void QgsHandleBadLayers::accept()
490494
int QgsHandleBadLayers::layerCount()
491495
{
492496
return mLayerList->rowCount();
493-
}
497+
}

0 commit comments

Comments
 (0)