mirror of https://gitlab.com/basile.b/dexed.git
upstream fix, AV on exit.
This commit is contained in:
parent
759808d832
commit
93b7b8f6bb
|
@ -1066,8 +1066,8 @@ begin
|
||||||
begin
|
begin
|
||||||
p := projectByIndex[i];
|
p := projectByIndex[i];
|
||||||
if not p.filename.fileExists or p.filename.isEmpty then
|
if not p.filename.fileExists or p.filename.isEmpty then
|
||||||
fProjects.Delete(i);
|
fProjects.Delete(i)
|
||||||
if (p.arguments.Count = 0) and (p.environmentPaths.Count = 0) and
|
else if (p.arguments.Count = 0) and (p.environmentPaths.Count = 0) and
|
||||||
(p.workingDirectory = '') and (p.queryArguments = false) then
|
(p.workingDirectory = '') and (p.queryArguments = false) then
|
||||||
fProjects.Delete(i);
|
fProjects.Delete(i);
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue