mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 09:00:25 +02:00
IDE: formatting
git-svn-id: trunk@40836 -
This commit is contained in:
parent
34906c6a9f
commit
2e6446193d
@ -3526,7 +3526,7 @@ var
|
||||
aMenu.Items.Add(AMenuItem);
|
||||
end;
|
||||
AMenuItem.Caption := CurMode.GetCaption;
|
||||
AMenuItem.Checked:=(Project1<>nil) and (Project1.ActiveBuildMode=CurMode);
|
||||
AMenuItem.Checked := (Project1<>nil) and (Project1.ActiveBuildMode=CurMode);
|
||||
AMenuItem.ShowAlwaysCheckable:=true;
|
||||
inc(CurIndex);
|
||||
end;
|
||||
@ -4868,8 +4868,7 @@ var
|
||||
if not CodeToolBoss.SetApplicationTitleStatement(AProject.MainUnitInfo.Source, NewTitle) then
|
||||
begin
|
||||
IDEMessageDialog(lisProjOptsError,
|
||||
Format(lisUnableToChangeProjectTitleInSource, [LineEnding, CodeToolBoss.
|
||||
ErrorMessage]),
|
||||
Format(lisUnableToChangeProjectTitleInSource, [LineEnding, CodeToolBoss.ErrorMessage]),
|
||||
mtWarning, [mbOk]);
|
||||
Result := False;
|
||||
Exit;
|
||||
@ -4879,8 +4878,7 @@ var
|
||||
if not CodeToolBoss.RemoveApplicationTitleStatement(AProject.MainUnitInfo.Source) then
|
||||
begin
|
||||
IDEMessageDialog(lisProjOptsError,
|
||||
Format(lisUnableToRemoveProjectTitleFromSource, [LineEnding, CodeToolBoss.
|
||||
ErrorMessage]),
|
||||
Format(lisUnableToRemoveProjectTitleFromSource, [LineEnding, CodeToolBoss.ErrorMessage]),
|
||||
mtWarning, [mbOk]);
|
||||
Result := False;
|
||||
Exit;
|
||||
|
@ -5993,9 +5993,9 @@ begin
|
||||
inherited Assign(Source);
|
||||
if Source is TProjectCompilerOptions then begin
|
||||
ProjCompOptions:=TProjectCompilerOptions(Source);
|
||||
FCompileReasons := ProjCompOptions.FCompileReasons;
|
||||
FCompileReasons:=ProjCompOptions.FCompileReasons;
|
||||
end else begin
|
||||
FCompileReasons := [crCompile, crBuild, crRun];
|
||||
FCompileReasons:=[crCompile, crBuild, crRun];
|
||||
// keep BuildModes
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user