mirror of https://gitlab.com/basile.b/dexed.git
prevent to add the FSP to the group if not yet saved
This commit is contained in:
parent
b7a74c2e0c
commit
42fa9149b0
|
|
@ -3197,6 +3197,8 @@ begin
|
|||
exit;
|
||||
if fFreeProj.inGroup then
|
||||
exit;
|
||||
if not fFreeProj.filename.fileExists then
|
||||
exit;
|
||||
fProjectGroup.addProject(fFreeProj);
|
||||
fFreeProj := nil;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -534,6 +534,8 @@ procedure TCEProjectGroupWidget.btnAddUnfocusedClick(Sender: TObject);
|
|||
begin
|
||||
if fFreeProj = nil then
|
||||
exit;
|
||||
if not fFreeProj.filename.fileExists then
|
||||
exit;
|
||||
projectGroup.addProject(fFreeProj);
|
||||
fFreeProj := nil;
|
||||
updateList;
|
||||
|
|
|
|||
Loading…
Reference in New Issue