mirror of https://gitlab.com/basile.b/dexed.git
fix, wrong project file indicated in several messages
This commit is contained in:
parent
e0e9cbac8f
commit
816c581d7a
|
|
@ -126,7 +126,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
@ -137,7 +137,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
@ -332,7 +332,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
|
|||
|
|
@ -1364,6 +1364,7 @@ end;
|
|||
|
||||
procedure TCEMainForm.projChanged(aProject: ICECommonProject);
|
||||
begin
|
||||
showProjTitle;
|
||||
end;
|
||||
|
||||
procedure TCEMainForm.projClosing(aProject: ICECommonProject);
|
||||
|
|
@ -1373,6 +1374,7 @@ begin
|
|||
fProjectInterface := nil;
|
||||
fDubProject := nil;
|
||||
fNativeProject := nil;
|
||||
showProjTitle;
|
||||
end;
|
||||
|
||||
procedure TCEMainForm.projFocused(aProject: ICECommonProject);
|
||||
|
|
@ -1382,6 +1384,7 @@ begin
|
|||
pfNative: fNativeProject := TCENativeProject(fProjectInterface.getProject);
|
||||
pfDub: fDubProject := TCEDubProject(fProjectInterface.getProject);
|
||||
end;
|
||||
showProjTitle;
|
||||
end;
|
||||
|
||||
procedure TCEMainForm.projCompiling(aProject: ICECommonProject);
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
@ -483,7 +483,7 @@ begin
|
|||
begin
|
||||
if assigned(fProj) then
|
||||
begin
|
||||
if fProj.modified and (dlgFileChangeClose(fname) = mrCancel) then
|
||||
if fProj.modified and (dlgFileChangeClose(fProj.filename) = mrCancel) then
|
||||
exit;
|
||||
fProj.getProject.Free;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Reference in New Issue