changeset 45:352fe939b884 v2.02

settings fix
author "Aaron Bregger <killermonkey99@gmail.com>"
date Tue, 04 Jan 2011 19:06:15 -0600
parents d1b0e573a253
children 370eda9d0ea9
files core.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core.lua	Tue Jan 04 18:53:21 2011 -0600
+++ b/core.lua	Tue Jan 04 19:06:15 2011 -0600
@@ -192,6 +192,10 @@
     self:RegisterEvent("BAG_UPDATE",      "UpdateButtons")
   
     RecipeProfit:DoMerge()
+    if(GatherMate.db.profile.show["RecipeProfit"] ~= "always" and GatherMate.db.profile.show["RecipeProfit"] ~= "never") then
+        GatherMate.db.profile.show["RecipeProfit"] = "always"
+        GatherMate:GetModule("Config"):SendMessage("GatherMate2ConfigChanged")
+    end
 end  
 
 function RecipeProfit:ShowOptions()