Quantcast

In MainPanel.scroll_frame:Update(): Only call MainPanel.progress_bar:Update() if not refreshing or scrolling.

James D. Callahan III [03-22-10 - 21:48]
In MainPanel.scroll_frame:Update(): Only call MainPanel.progress_bar:Update() if not refreshing or scrolling.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 5590a19..db31555 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -2325,6 +2325,7 @@ do
 				end
 			end	-- Sort type.
 			self.recipes_displayed = recipes_displayed
+			MainPanel.progress_bar:Update()
 		end

 		-- Reset the current buttons/lines
@@ -2448,7 +2449,6 @@ do
 				addon:Print("DEBUG: excluded_recipes_unknown: " .. Player.excluded_recipes_unknown)
 			end
 		end
-		MainPanel.progress_bar:Update()
 	end
 	local faction_strings