From 016faf8449aeb7dba2738da4fefa3609b3af589c Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 8 Jul 2007 13:39:11 +0000 Subject: Merged 0.0 changes from revision 3317 to 3362 to trunk. --- src/gui/chatinput.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/chatinput.cpp') diff --git a/src/gui/chatinput.cpp b/src/gui/chatinput.cpp index 2aa5a159..fc5d6aab 100644 --- a/src/gui/chatinput.cpp +++ b/src/gui/chatinput.cpp @@ -26,9 +26,11 @@ ChatInput::ChatInput() { setVisible(false); + + addFocusListener(this); } -void ChatInput::focusLost() +void ChatInput::focusLost(const gcn::Event &event) { setVisible(false); } -- cgit v1.2.3-70-g09d2