small bugfix in item search

This commit is contained in:
Manuel Simon Hirsig
2015-11-08 11:27:39 +01:00
parent 83d4f75119
commit 566457ea60
2 changed files with 9 additions and 3 deletions
+5 -3
View File
@@ -65,9 +65,11 @@
if this.selector.selected_value() then
Aux.item_search_frame.set_item(this.selector.selected_value())
end
this:Hide()
this.selector.clear()
Aux.item_search_frame.update_item()
if Aux.item_search_frame.item_set() then
this:Hide()
this.selector.clear()
Aux.item_search_frame.update_item()
end
</OnEditFocusLost>
<OnEscapePressed>
this.selector.clear()