mirror of https://gitlab.com/basile.b/dexed.git
projects group, prevent a useless free-standing-project protection
the FSP remains a FSP even when a group is opened
This commit is contained in:
parent
89bf138285
commit
18233aa775
|
@ -2977,13 +2977,6 @@ end;
|
||||||
|
|
||||||
procedure TCEMainForm.actProjOpenGroupExecute(Sender: TObject);
|
procedure TCEMainForm.actProjOpenGroupExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if (fProject <> nil) and not fProject.inGroup and
|
|
||||||
fProject.modified then
|
|
||||||
begin
|
|
||||||
if dlgFileChangeClose(fProject.filename) = mrCancel then
|
|
||||||
exit;
|
|
||||||
fProject.getProject.Free;
|
|
||||||
end;
|
|
||||||
if fProjectGroup.groupModified then
|
if fProjectGroup.groupModified then
|
||||||
begin
|
begin
|
||||||
if dlgFileChangeClose(fProjectGroup.groupFilename) = mrCancel then
|
if dlgFileChangeClose(fProjectGroup.groupFilename) = mrCancel then
|
||||||
|
|
Loading…
Reference in New Issue