Minor reordering.
This commit is contained in:
parent
6cd2ee2e21
commit
24682f9b5f
1 changed files with 1 additions and 2 deletions
|
@ -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 )
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue