1
0
Fork 0

Minor reordering.

This commit is contained in:
Andrew Tomaka 2011-09-20 12:52:40 -04:00
parent 6cd2ee2e21
commit 24682f9b5f

View file

@ -310,6 +310,7 @@ function core:DrawTooltip()
end
end
-- Sort table according to options.
local sortTooltip = function(a, b)
if db.profile.sortType == 1 then
if db.profile.sortDirection == 1 then
@ -325,8 +326,6 @@ function core:DrawTooltip()
end
end
end
-- Sort by name for now
table.sort(tooltipTable, sortTooltip )