IDE: use unit dialog: TUseUnitDialog.InterfaceSelected: check if there is a choice, bug #31666

git-svn-id: trunk@54620 -
This commit is contained in:
mattias 2017-04-15 19:45:10 +00:00
parent 71449f2742
commit 22f672c047

View File

@ -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);