Quantcast

Removed calls to MainPanel.progress_bar:Update() from addon:DisplayFrame() and ReDisplay() in favor of calling it at the end of MainPanel.scroll_frame:Update().

James D. Callahan III [03-22-10 - 16:31]
Removed calls to MainPanel.progress_bar:Update() from addon:DisplayFrame() and ReDisplay() in favor of calling it at the end of MainPanel.scroll_frame:Update().
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 100804f..2156cb7 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -2442,6 +2442,7 @@ do
 				addon:Print("DEBUG: excluded_recipes_unknown: " .. Player.excluded_recipes_unknown)
 			end
 		end
+		MainPanel.progress_bar:Update()
 	end
 	local faction_strings

@@ -3947,7 +3948,6 @@ function addon:DisplayFrame()

 	MainPanel:UpdateTitle()
 	MainPanel.scroll_frame:Update(false, false)
-	MainPanel.progress_bar:Update()
 	MainPanel:Show()

 	-- Set the search text to the last searched text or the global default string for the search box
@@ -3967,7 +3967,6 @@ function ReDisplay()
 	Player:MarkExclusions()

 	MainPanel.scroll_frame:Update(false, false)
-	MainPanel.progress_bar:Update()

 	-- Make sure our expand all button is set to expandall
 	ARL_ExpandButton:SetText(L["EXPANDALL"])