mirror of https://gitlab.com/basile.b/dexed.git
fix, reload last proj, crash if last proj file didnt exist anymore
This commit is contained in:
parent
7800c0d821
commit
0055054c59
|
@ -505,7 +505,7 @@ begin
|
||||||
itf := TCEMainForm(aDestination).fProjectInterface;
|
itf := TCEMainForm(aDestination).fProjectInterface;
|
||||||
if (itf <> nil) and (itf.filename = fProject) then
|
if (itf <> nil) and (itf.filename = fProject) then
|
||||||
exit;
|
exit;
|
||||||
if fProject <> '' then
|
if fProject <> '' then if FileExists(fProject) then
|
||||||
TCEMainForm(aDestination).openProj(fProject);
|
TCEMainForm(aDestination).openProj(fProject);
|
||||||
end else
|
end else
|
||||||
inherited;
|
inherited;
|
||||||
|
|
Loading…
Reference in New Issue