refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-27 12:47:29 +02:00
parent abcc782daa
commit b734d14bea
12 changed files with 86 additions and 121 deletions
+2 -3
View File
@@ -51,7 +51,7 @@ RESULTS, SAVED, FILTER = 1, 2, 3
function LOAD()
create_frames()
set_subtab(SAVED)
subtab = SAVED
update_auto_buy_filter()
new_search ''
current_search.placeholder = true
@@ -78,8 +78,7 @@ function USE_ITEM(item_info)
execute(nil, false)
end
function set_subtab(tab)
function subtab.set(tab)
search_results_button:UnlockHighlight()
saved_searches_button:UnlockHighlight()
new_filter_button:UnlockHighlight()