Quantcast

Update locale again for favorites.

pschifferer [01-22-09 - 17:51]
Update locale again for favorites.
Added a missing call to update the skill list UI after toggling the favorites filter.
Filename
Cauldron/CauldronMainUI.lua
Cauldron/Locale/Cauldron-enUS.lua
diff --git a/Cauldron/CauldronMainUI.lua b/Cauldron/CauldronMainUI.lua
index db40b83..e4af4ec 100644
--- a/Cauldron/CauldronMainUI.lua
+++ b/Cauldron/CauldronMainUI.lua
@@ -1075,7 +1075,7 @@ function Cauldron:FilterDropDown_Initialize(level)
 			checked = Cauldron.db.realm.userdata[Cauldron.vars.playername].skills[skillName].window.filter.favorites,
 			tooltipTitle = L["Favorites"],
 			tooltipText = L["Display only favorite skills"],
-			func = function(arg1, arg2) Cauldron.db.realm.userdata[Cauldron.vars.playername].skills[skillName].window.filter.favorites = not Cauldron.db.realm.userdata[Cauldron.vars.playername].skills[skillName].window.filter.favorites end,
+			func = function(arg1, arg2) Cauldron.db.realm.userdata[Cauldron.vars.playername].skills[skillName].window.filter.favorites = not Cauldron.db.realm.userdata[Cauldron.vars.playername].skills[skillName].window.filter.favorites; Cauldron:UpdateSkillList(); end,
 			arg1 = "favorite",
 			arg2 = "",
 		};
diff --git a/Cauldron/Locale/Cauldron-enUS.lua b/Cauldron/Locale/Cauldron-enUS.lua
index 130097d..def4cc9 100644
--- a/Cauldron/Locale/Cauldron-enUS.lua
+++ b/Cauldron/Locale/Cauldron-enUS.lua
@@ -52,6 +52,7 @@ L["Trivial"] = true
 L["Set whether items of this difficulty level should be shown"] = true
 L["Miscellaneous"] = true
 L["Favorites"] = true
+L["Display only favorite skills"] = true
 L["Mark this skill as a favorite"] = true
 L["Reagents"] = true
 L["Display the normal list of skills"] = true