Quantcast

Clicking on the output frame sets the focus to to the commandline edit box, courtesy of Sarog

James Whitehead II [09-07-09 - 09:26]
Clicking on the output frame sets the focus to to the commandline edit box, courtesy of Sarog
Filename
WowLua.xml
diff --git a/WowLua.xml b/WowLua.xml
index 876eed2..5e5b2e0 100644
--- a/WowLua.xml
+++ b/WowLua.xml
@@ -657,6 +657,9 @@
 					<OnShow>
 						WowLua:UpdateScrollingMessageFrame(self);
 					</OnShow>
+                    <OnMouseDown>
+                        WowLuaFrameCommandEditBox:SetFocus()
+                    </OnMouseDown>
 				</Scripts>
 				<FontString font="Interface\AddOns\WowLua\fonts\VeraMono.ttf" justifyH="LEFT">
 					<FontHeight val="14"/>