mirror of https://gitlab.com/basile.b/dexed.git
Also remove DCD cache when a libman entry is removed
This commit is contained in:
parent
9f08e32488
commit
fc63dbefee
|
@ -411,6 +411,7 @@ begin
|
||||||
cli.dependencies.Delete(j);
|
cli.dependencies.Delete(j);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
DCDWrapper.remImportFolder(lib.libSourcePath);
|
||||||
fItemsByAlias.delete(lib.libAlias);
|
fItemsByAlias.delete(lib.libAlias);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -469,7 +470,12 @@ begin
|
||||||
begin
|
begin
|
||||||
itm := TLibraryItem(fCollection.Items[i]);
|
itm := TLibraryItem(fCollection.Items[i]);
|
||||||
if itm.enabled then
|
if itm.enabled then
|
||||||
add.Add(itm.libSourcePath)
|
begin
|
||||||
|
if itm.hasValidLibSourcePath then
|
||||||
|
add.Add(itm.libSourcePath)
|
||||||
|
else
|
||||||
|
rem.Add(itm.libSourcePath);
|
||||||
|
end
|
||||||
else
|
else
|
||||||
rem.Add(itm.libSourcePath);
|
rem.Add(itm.libSourcePath);
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue