1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-25 10:42:20 -05:00

Allow tab to finish the autocompletion as well.

Patch by Sabzi
This commit is contained in:
Merlijn Wajer 2010-07-24 14:03:02 +02:00
parent 1c026294ba
commit 312519e3e8

View File

@ -543,7 +543,7 @@ begin
VK_DOWN: VK_DOWN:
if (ListBox.Count > 0) and (ListBox.ItemIndex + 1 < ListBox.Count) then if (ListBox.Count > 0) and (ListBox.ItemIndex + 1 < ListBox.Count) then
ListBox.ItemIndex := ListBox.ItemIndex + 1; ListBox.ItemIndex := ListBox.ItemIndex + 1;
VK_RETURN: VK_RETURN, VK_TAB:
ListBox.DblClick; ListBox.DblClick;
VK_ESCAPE: VK_ESCAPE:
Hide; Hide;