Applied a small fix to avoid UI Fragments when changing the talent spec on 3.2.

This commit is contained in:
Hendrik Leppkes
2009-08-05 20:45:49 +02:00
parent 3cfa7c8642
commit 2f8f888e5d
+6
View File
@@ -122,6 +122,12 @@ function Bartender4:HideBlizzard()
PossessBarFrame:UnregisterAllEvents()
PossessBarFrame:Hide()
if PlayerTalentFrame then
PlayerTalentFrame:UnregisterEvent('ACTIVE_TALENT_GROUP_CHANGED')
else
hooksecurefunc('TalentFrame_LoadUI', function() PlayerTalentFrame:UnregisterEvent('ACTIVE_TALENT_GROUP_CHANGED') end)
end
end
--[[ function Bartender4:OnEnable()