mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-01 12:04:59 +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,11 +1738,10 @@ begin
|
||||
end;
|
||||
xmlconfig:=nil;
|
||||
until SessionSaveResult<>mrRetry;
|
||||
end;
|
||||
|
||||
if (Result=mrOk) and (SessionSaveResult<>mrOk) then
|
||||
Result:=SessionSaveResult;
|
||||
end;
|
||||
end;
|
||||
|
||||
function TProject.GetDefaultTitle: string;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user