keeping track of changes

This commit is contained in:
Alex 2019-03-20 20:10:45 -04:00 committed by GitHub
parent b03d61d5d6
commit d0a4b5b07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,6 +437,10 @@ void QgsHandleBadLayers::apply()
else
{
item->setForeground( QBrush( Qt::red ) );
if ( mFileBase[ name ].size() == 1 )
mFileBase[ name ][0] = basepath ;
else if ( mFileBase[ name ].size() > 1 )
mFileBase[ name ].append( basepath );
}
}
}
@ -490,4 +494,4 @@ void QgsHandleBadLayers::accept()
int QgsHandleBadLayers::layerCount()
{
return mLayerList->rowCount();
}
}