nicer layout for settings

This commit is contained in:
Manuel Simon Hirsig
2016-07-24 20:14:57 +02:00
parent 31133eaafc
commit 675b7f06be
13 changed files with 174 additions and 159 deletions
+8 -4
View File
@@ -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