Mercurial > wow > recipeprofit
diff core.lua @ 45:352fe939b884 v2.02
settings fix
| author | "Aaron Bregger <killermonkey99@gmail.com>" |
|---|---|
| date | Tue, 04 Jan 2011 19:06:15 -0600 |
| parents | d97f61fad5b6 |
| children | bc43986f7fb0 |
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()
