mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 01:52:28 +01:00
IDE: use unit dialog: TUseUnitDialog.InterfaceSelected: check if there is a choice, bug #31666
git-svn-id: trunk@54620 -
This commit is contained in:
parent
71449f2742
commit
22f672c047
@ -469,7 +469,7 @@ end;
|
|||||||
|
|
||||||
function TUseUnitDialog.InterfaceSelected: Boolean;
|
function TUseUnitDialog.InterfaceSelected: Boolean;
|
||||||
begin
|
begin
|
||||||
Result:=SectionRadioGroup.ItemIndex=0;
|
Result:=(not SectionRadioGroup.Enabled) or (SectionRadioGroup.ItemIndex=0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TUseUnitDialog.DetermineUsesSection(ACode: TCodeBuffer);
|
procedure TUseUnitDialog.DetermineUsesSection(ACode: TCodeBuffer);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user