diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-04 10:26:17 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-04 10:26:17 (GMT) |
commit | 168405b68c8ce2dd174c86ce3938fbabff93efd7 (patch) | |
tree | 3d7a49add14b26b06435b214dcaae9af6cbd948e /Swift/QtUI/QtChatWindow.cpp | |
parent | 219b1e5e4684323e0dbd0f1ad7de7beaf4d75f50 (diff) | |
download | swift-contrib-168405b68c8ce2dd174c86ce3938fbabff93efd7.zip swift-contrib-168405b68c8ce2dd174c86ce3938fbabff93efd7.tar.bz2 |
Fix chat logs scrolling to bottom.
(bug introduced since beta6)
Resolves: #591
Diffstat (limited to 'Swift/QtUI/QtChatWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index 6913747..a71cd43 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -349,8 +349,8 @@ void QtChatWindow::returnPressed() { if (!inputEnabled_) { return; } - onSendMessageRequest(Q2PSTRING(input_->toPlainText())); messageLog_->scrollToBottom(); + onSendMessageRequest(Q2PSTRING(input_->toPlainText())); inputClearing_ = true; input_->clear(); inputClearing_ = false; |