nicer layout for settings
This commit is contained in:
@@ -214,7 +214,9 @@ do
|
||||
listener:set_action(function()
|
||||
if arg1 == ERR_AUCTION_BID_PLACED then
|
||||
listener:stop()
|
||||
on_success()
|
||||
if on_success then
|
||||
on_success()
|
||||
end
|
||||
locked = false
|
||||
end
|
||||
end)
|
||||
@@ -243,7 +245,9 @@ do
|
||||
listener:set_action(function()
|
||||
if arg1 == ERR_AUCTION_REMOVED then
|
||||
listener:stop()
|
||||
on_success()
|
||||
if on_success then
|
||||
on_success()
|
||||
end
|
||||
locked = false
|
||||
end
|
||||
end)
|
||||
@@ -355,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')
|
||||
m.search_tab.disable_sniping()
|
||||
m.search_tab.real_time_checkbox:SetChecked(nil)
|
||||
m.search_tab.execute()
|
||||
return
|
||||
end
|
||||
@@ -374,7 +378,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')
|
||||
m.search_tab.disable_sniping()
|
||||
m.search_tab.real_time_checkbox:SetChecked(nil)
|
||||
m.search_tab.execute()
|
||||
end
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user