refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-11-05 07:22:45 +01:00
parent 80ec35bca1
commit 98f5aacacd
4 changed files with 10 additions and 17 deletions
+2 -1
View File
@@ -438,7 +438,8 @@ function update_inventory_records()
end
end
end
init[inventory_records] = temp-values(auctionable_map)
release(inventory_records)
inventory_records = values(auctionable_map)
sort(inventory_records, function(a, b) return a.name < b.name end)
refresh = true
end
+2 -1
View File
@@ -176,7 +176,8 @@ function clear_form()
UIDropDownMenu_ClearAll(quality_dropdown)
filter_parameter_input:ClearFocus()
wipe(post_filter)
init[filter_builder_state] = temp-T('selected', 0)
wipe(filter_builder_state)
filter_builder_state.selected = 0
update_filter_display()
end
+2 -1
View File
@@ -180,7 +180,8 @@ function start_real_time_scan(query, search, continuation)
for _, record in new_records do
map[record.sniping_signature] = record
end
init[new_records] = temp-values(map)
release(new_records)
new_records = values(map)
if getn(new_records) > 2000 then
StaticPopup_Show'AUX_SEARCH_TABLE_FULL'