Quantcast

In addon:DisplayTextDump(): Set the cursor to the top of the frame instead of the bottom.

James D. Callahan III [03-25-10 - 08:41]
In addon:DisplayTextDump(): Set the cursor to the top of the frame instead of the bottom.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 21e0aec..567309e 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -4121,6 +4121,7 @@ do
 	function addon:DisplayTextDump(RecipeDB, profession, text)
 		edit_box:SetText((not RecipeDB and not profession) and text or self:GetTextDump(profession))
 		edit_box:HighlightText(0)
+		edit_box:SetCursorPosition(1)
 		copy_frame:Show()
 	end
 end	-- do