Quantcast

Profiling works now. But only if StarLibs isn't installed as an addon. Not sure why.

Scott Sibley [09-04-10 - 09:00]
Profiling works now. But only if StarLibs isn't installed as an addon. Not sure why.
Filename
LCD4WoW.lua
config.lua
diff --git a/LCD4WoW.lua b/LCD4WoW.lua
index d75b620..2510ced 100644
--- a/LCD4WoW.lua
+++ b/LCD4WoW.lua
@@ -19,7 +19,7 @@ local LDB = LibStub("LibDataBroker-1.1"):NewDataObject("LCD4WoW", {
 	OnClick = function() LCD4WoW:OpenConfig() end
 })

-local defaults = {profile={minimap={}, modules={}, errorLevel=2}}
+local defaults = {profile={minimap={}, modules={}, errorLevel=1}}

 local options = {
 	name = "LCD4WoW",
diff --git a/config.lua b/config.lua
index 654d586..f7ea5a0 100644
--- a/config.lua
+++ b/config.lua
@@ -7,7 +7,8 @@ local foo = 500

 LCD4WoW.config = {
     ["display_startip"] = {
-		["enabled"] = true,
+		["addon"] = "LCD4WoW",
+		["enabled"] = false,
 		["driver"] = "qtip",
 		["layers"] = 2,
 		["background"] = "d9ccf16f",
@@ -23,6 +24,7 @@ LCD4WoW.config = {
 		["font"] = {normal="Interface\\AddOns\\startip\\Fonts\\ttf-bitstream-vera-1.10\\VeraMo.ttf", bold="Interface\\AddOns\\startip\\Fonts\\ttf-bitstream-vera-1.10\\VeraMoBd.ttf", size=12},
     },
     ["display_character"] = {
+		["addon"] = "LCD4WoW",
 		["enabled"] = false,
 		["driver"] = "character",
 		["layers"] = 2,