mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-03 08:43:50 +02:00
fixed WriteProject result if Session is not saved in a separate file
git-svn-id: trunk@9086 -
This commit is contained in:
parent
e0bfbe601f
commit
38b49a2d5f
@ -1738,10 +1738,9 @@ begin
|
|||||||
end;
|
end;
|
||||||
xmlconfig:=nil;
|
xmlconfig:=nil;
|
||||||
until SessionSaveResult<>mrRetry;
|
until SessionSaveResult<>mrRetry;
|
||||||
|
if (Result=mrOk) and (SessionSaveResult<>mrOk) then
|
||||||
|
Result:=SessionSaveResult;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if (Result=mrOk) and (SessionSaveResult<>mrOk) then
|
|
||||||
Result:=SessionSaveResult;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TProject.GetDefaultTitle: string;
|
function TProject.GetDefaultTitle: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user