mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 12:00:18 +02:00
MG: improved TComboBox.SetItemIndex
git-svn-id: trunk@2978 -
This commit is contained in:
parent
76ef25f6a6
commit
5c153c68ce
@ -2748,6 +2748,7 @@ begin
|
||||
SetHistoryText;
|
||||
end;
|
||||
FetchFocus;
|
||||
Key:=VK_UNKNOWN;
|
||||
end else if Key=VK_UP then begin
|
||||
if (CurIndex<0)
|
||||
or (HistoryList[CurIndex]<>CurText) then
|
||||
@ -2762,6 +2763,7 @@ begin
|
||||
SetHistoryText;
|
||||
end;
|
||||
FetchFocus;
|
||||
Key:=VK_UNKNOWN;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user