some autocomplete improvements

This commit is contained in:
Manuel Simon Hirsig
2015-10-16 22:07:02 +02:00
parent bbfde22d58
commit ef88779f0a
6 changed files with 22 additions and 22 deletions
+3 -5
View File
@@ -91,9 +91,9 @@
</Layer>
</Layers>
<Scripts>
<OnLoad>
<OnShow>
this.completor = Aux.completion.completor(this)
</OnLoad>
</OnShow>
<OnTextChanged>
this.completor.suggest()
</OnTextChanged>
@@ -105,9 +105,7 @@
end
</OnTabPressed>
<OnEnterPressed>
if this.completor.open() then
this.completor.close()
end
this.completor.close()
this:ClearFocus()
Aux.buy.SearchButton_onclick()
</OnEnterPressed>