Skip to content

Commit

Permalink
keeping track of changes
Browse files Browse the repository at this point in the history
  • Loading branch information
roya0045 committed Mar 21, 2019
1 parent b03d61d commit d0a4b5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/qgshandlebadlayers.cpp
Expand Up @@ -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 );
}
}
}
Expand Down Expand Up @@ -490,4 +494,4 @@ void QgsHandleBadLayers::accept()
int QgsHandleBadLayers::layerCount()
{
return mLayerList->rowCount();
}
}

0 comments on commit d0a4b5b

Please sign in to comment.