From 2f8f888e5d3eb9eebbcf44a2adac596c236aae65 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 5 Aug 2009 20:45:49 +0200 Subject: [PATCH] Applied a small fix to avoid UI Fragments when changing the talent spec on 3.2. --- Bartender4.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Bartender4.lua b/Bartender4.lua index 1716dfd..413bb2c 100644 --- a/Bartender4.lua +++ b/Bartender4.lua @@ -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()