mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 18:49:19 +02:00
Package editor: formatting
git-svn-id: trunk@45738 -
This commit is contained in:
parent
a00d920533
commit
c05639fe6e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user