Add Clear Logs to log menu and fix a bug with Toggle.

Reorder GP price list by itemID for easier comparison with future changes.
This commit is contained in:
Road-block
2017-08-11 04:08:55 +03:00
parent 457c95e3d3
commit 6b10d1130e
4 changed files with 655 additions and 653 deletions
+5 -3
View File
@@ -22,6 +22,11 @@ function sepgp_logs:OnEnable()
"tooltipText", "Refresh window",
"func", function() sepgp_logs:Refresh() end
)
D:AddLine(
"text", "Clear",
"tooltipText", "Clear Logs.",
"func", function() sepgp_log = {} sepgp_logs:Refresh() end
)
end
)
end
@@ -65,9 +70,6 @@ function sepgp_logs:Toggle(forceShow)
elseif (forceShow) then
else
T:Attach("sepgp_logs")
if GameTooltip:IsOwned(self.tipOwner) and GameTooltip:IsShown() then
GameTooltip:Hide()
end
end
end