lcl: fix itemindex when combobox has duplicates. Issue #20846

git-svn-id: trunk@34053 -
This commit is contained in:
blikblum 2011-12-08 19:53:11 +00:00
parent c526606ce5
commit 4361a67b65

View File

@ -578,7 +578,7 @@ var
Index := ItemIndex;
// Index might be -1, if current text is not in the list.
if (Index>=0) then
Text := Items[Index]
TWin32WSCustomComboBox.SetText(ComboBox, Items[Index]);
end;
end;