IDE: designer: change class dlg: disable ok button

git-svn-id: trunk@40037 -
This commit is contained in:
mattias 2013-01-30 01:43:13 +00:00
parent aec7fa72d7
commit b33abc827c

View File

@ -372,10 +372,14 @@ begin
end;
end;
FillAncestorListBox(NewClass,NewAncestorsListBox);
if NewClass<>nil then
NewClassComboBox.Text:=NewClass.ClassName
else
if NewClass<>nil then begin
NewClassComboBox.Text:=NewClass.ClassName;
BtnPanel.OKButton.Enabled:=true;
end
else begin
NewClassComboBox.Text:='';
BtnPanel.OKButton.Enabled:=false;
end;
end;
procedure TChangeClassDlg.FillAncestorListBox(AClass: TClass; AListBox: TListBox);