search config design improvements

This commit is contained in:
Manuel Simon Hirsig
2016-07-25 23:36:05 +02:00
parent 8d9f6ce64d
commit 91b1eebefc
7 changed files with 145 additions and 109 deletions
+2 -2
View File
@@ -359,7 +359,7 @@ function private.SetItemRef(...)
local item_info = m.info.item(tonumber(({strfind(itemstring, '^item:(%d+)')})[3]))
if item_info then
m.search_tab.set_filter(strlower(item_info.name)..'/exact')
if m.real_time_button.on then
if m.real_time_button:GetChecked() then
m.real_time_button:Click()
end
m.search_tab.execute()
@@ -380,7 +380,7 @@ function private.UseContainerItem(...)
item_info = item_info and m.info.item(item_info.item_id)
if item_info then
m.search_tab.set_filter(strlower(item_info.name)..'/exact')
if m.real_time_button.on then
if m.real_time_button:GetChecked() then
m.real_time_button:Click()
end
m.search_tab.execute()