summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-04 10:26:17 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-04 10:26:17 (GMT)
commit168405b68c8ce2dd174c86ce3938fbabff93efd7 (patch)
tree3d7a49add14b26b06435b214dcaae9af6cbd948e /Swift/QtUI/QtChatWindow.cpp
parent219b1e5e4684323e0dbd0f1ad7de7beaf4d75f50 (diff)
downloadswift-168405b68c8ce2dd174c86ce3938fbabff93efd7.zip
swift-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.cpp2
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;