diff 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
line wrap: on
line diff
--- a/Modules/Options.lua	Tue Jul 06 23:48:54 2010 -0700
+++ b/Modules/Options.lua	Thu Jul 08 19:30:30 2010 -0700
@@ -59,14 +59,6 @@
 					disabled = 'IsQADisabled',
 					order = 1,
 				},
-				dbg = {
-					type = "toggle",
-					name = "Debug",
-					desc = "Toggles debug messages in chat",
-					get = "GetDebug",
-					set = "SetDebug",
-					order = 100,
-				},
 			},
 		},
 		
@@ -150,8 +142,13 @@
 			func = "Queue",
 			guiHidden = true,
 		},
-		
-		
+		debug = {
+			type = "execute",
+			name = "debug",
+			desc = "Shows the debug frame",
+			func = function() ItemAuditor_DebugFrame:Show() end,
+			guiHidden = true,
+		}
 	},
 }