mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-29 00:05:09 -04:00
keeping track of changes
This commit is contained in:
parent
b03d61d5d6
commit
d0a4b5b07f
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user