LCL: combo box: fix typo

git-svn-id: trunk@55244 -
This commit is contained in:
ondrej 2017-06-05 19:09:38 +00:00
parent 9a9e336851
commit 2276076e95

View File

@ -251,7 +251,7 @@ end;
procedure TCustomComboBox.CloseUp; procedure TCustomComboBox.CloseUp;
begin begin
if [csLoading,csDestroying,csDesigning]*ComponentState<>[] then exit; if [csLoading,csDestroying,csDesigning]*ComponentState<>[] then exit;
if Style in [csSingle, csDropDown] then // To-Do: csOwnerDrawEditableFixed, csOwnerDrawEditableVariable if Style in [csSimple, csDropDown] then // To-Do: csOwnerDrawEditableFixed, csOwnerDrawEditableVariable
EditingDone; EditingDone;
if Assigned(FOnCloseUp) then FOnCloseUp(Self); if Assigned(FOnCloseUp) then FOnCloseUp(Self);
if FAutoSelect then if FAutoSelect then