Package editor: formatting

git-svn-id: trunk@45738 -
This commit is contained in:
juha 2014-06-30 14:34:57 +00:00
parent a00d920533
commit c05639fe6e

View File

@ -2281,8 +2281,7 @@ begin
end; end;
end; end;
function TPackageEditorForm.CanUpdate(Flag: TPEFlag; Immediately: boolean function TPackageEditorForm.CanUpdate(Flag: TPEFlag; Immediately: boolean): boolean;
): boolean;
begin begin
Result:=false; Result:=false;
if csDestroying in ComponentState then exit; if csDestroying in ComponentState then exit;
@ -2583,13 +2582,11 @@ begin
ApplyDependencyButton.Visible:=aVisible; ApplyDependencyButton.Visible:=aVisible;
// 'RegisterProc' of files (supports multi selection) // 'RegisterProc' of files (supports multi selection)
SetCheckBox(CallRegisterProcCheckBox,OnlyFilesWithUnitsSelected, SetCheckBox(CallRegisterProcCheckBox,OnlyFilesWithUnitsSelected, SelHasRegisterProc);
SelHasRegisterProc);
CallRegisterProcCheckBox.Enabled:=(not LazPackage.ReadOnly); CallRegisterProcCheckBox.Enabled:=(not LazPackage.ReadOnly);
// 'Add to uses' of files (supports multi selection) // 'Add to uses' of files (supports multi selection)
SetCheckBox(AddToUsesPkgSectionCheckBox,OnlyFilesWithUnitsSelected, SetCheckBox(AddToUsesPkgSectionCheckBox,OnlyFilesWithUnitsSelected, SelAddToUsesPkgSection);
SelAddToUsesPkgSection);
AddToUsesPkgSectionCheckBox.Enabled:=(not LazPackage.ReadOnly); AddToUsesPkgSectionCheckBox.Enabled:=(not LazPackage.ReadOnly);
// disable i18n for lfm (supports multi selection) // disable i18n for lfm (supports multi selection)