mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 03:39:18 +02: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;
|
||||
begin
|
||||
Result:=SectionRadioGroup.ItemIndex=0;
|
||||
Result:=(not SectionRadioGroup.Enabled) or (SectionRadioGroup.ItemIndex=0);
|
||||
end;
|
||||
|
||||
procedure TUseUnitDialog.DetermineUsesSection(ACode: TCodeBuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user