Quantcast

AckisRecipeList:

Jim-Bim [12-03-08 - 22:09]
AckisRecipeList:
- properly update title text after profession switch
Filename
ARLFrame.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 2bbf2dc..7cbeb6f 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -1981,7 +1981,9 @@ function addon.SwitchProfs()
 	-- Redisplay the button with the new skill
 	SetSwitcherTexture(SortedProfessions[currentProfIndex].texture)
 	playerData.playerProfession = SortedProfessions[currentProfIndex].name
+	currentProfession = playerData.playerProfession
 	ReDisplay()
+	addon.resetTitle()
 end

 -- Description: