Mercurial > wow > itemauditor
comparison Modules/Options.lua @ 22:66b7c3f5937e
I have removed the ability to show debug messages in the chat window and have replaced it with a new debug frame. /ia debug will show all of the debug messages and everything that IA has printed. This commit also has a small fix so that if you sell something for your exact cost you don't get a message that you made a profit of 0c.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Thu, 08 Jul 2010 19:30:30 -0700 |
parents | d7f02c84994c |
children | 34daa46b644a |
comparison
equal
deleted
inserted
replaced
21:d7f02c84994c | 22:66b7c3f5937e |
---|---|
56 desc = "Displays a message when an item is excluded from the queue.", | 56 desc = "Displays a message when an item is excluded from the queue.", |
57 get = function() return ItemAuditor.db.profile.messages.queue_skip end, | 57 get = function() return ItemAuditor.db.profile.messages.queue_skip end, |
58 set = function(info, value) ItemAuditor.db.profile.messages.queue_skip = value end, | 58 set = function(info, value) ItemAuditor.db.profile.messages.queue_skip = value end, |
59 disabled = 'IsQADisabled', | 59 disabled = 'IsQADisabled', |
60 order = 1, | 60 order = 1, |
61 }, | |
62 dbg = { | |
63 type = "toggle", | |
64 name = "Debug", | |
65 desc = "Toggles debug messages in chat", | |
66 get = "GetDebug", | |
67 set = "SetDebug", | |
68 order = 100, | |
69 }, | 61 }, |
70 }, | 62 }, |
71 }, | 63 }, |
72 | 64 |
73 qa_options = { | 65 qa_options = { |
148 name = "queue", | 140 name = "queue", |
149 desc = "Queue", | 141 desc = "Queue", |
150 func = "Queue", | 142 func = "Queue", |
151 guiHidden = true, | 143 guiHidden = true, |
152 }, | 144 }, |
153 | 145 debug = { |
154 | 146 type = "execute", |
147 name = "debug", | |
148 desc = "Shows the debug frame", | |
149 func = function() ItemAuditor_DebugFrame:Show() end, | |
150 guiHidden = true, | |
151 } | |
155 }, | 152 }, |
156 } | 153 } |
157 | 154 |
158 function addon:RegisterOptions() | 155 function addon:RegisterOptions() |
159 self.optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("ItemAuditor", "ItemAuditor") | 156 self.optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("ItemAuditor", "ItemAuditor") |