module refactoring

This commit is contained in:
Manuel Simon Hirsig
2017-11-01 08:52:39 +01:00
committed by Simon Hirsig
parent 5e093306e6
commit 62ef2683f5
15 changed files with 69 additions and 97 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ function USE_ITEM(item_info)
execute(nil, false)
end
function set_subtab(tab)
function set.subtab(tab)
CloseDropDownMenus()
search_results_button:UnlockHighlight()
saved_searches_button:UnlockHighlight()
@@ -65,7 +65,7 @@ function set_subtab(tab)
end
end
function M.set_filter(filter_string)
function M.set.filter(filter_string)
search_box:SetFocus()
search_box:SetText(filter_string)
end