diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-06-30 20:45:43 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-06-30 20:45:43 +0000 |
commit | aaff5572f054045ecd4dd94ccdc2caac71132ad4 (patch) | |
tree | b67e8b6436807072893357b55c12e01aacdac591 /src/gui/chat.cpp | |
parent | 5cd5f1dda32bdd812abbb7f4a72042575f153d4b (diff) | |
download | mana-aaff5572f054045ecd4dd94ccdc2caac71132ad4.tar.gz mana-aaff5572f054045ecd4dd94ccdc2caac71132ad4.tar.bz2 mana-aaff5572f054045ecd4dd94ccdc2caac71132ad4.tar.xz mana-aaff5572f054045ecd4dd94ccdc2caac71132ad4.zip |
Improved buddylist, added talk
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 8a11969a..c02f5160 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -327,3 +327,9 @@ void ChatWindow::keyPress(const gcn::Key &key) chatInput->setCaretPosition(chatInput->getText().length()); } } + +void ChatWindow::setInputText(std::string input_str) +{ + chatInput->setText(input_str + " "); + requestChatFocus(); +} |