summaryrefslogtreecommitdiff
path: root/src/gui/chatinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chatinput.cpp')
-rw-r--r--src/gui/chatinput.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}