diff options
author | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 20:05:27 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 20:05:27 (GMT) |
commit | 623ebbd00fe3b9d33c4cc86b3c47bcea125d8de3 (patch) | |
tree | dd1d9003ab10e70d96d204257ff603f6bc4a63f0 /Swift | |
parent | 4b0af9ad53611182c6254111198f3b9e0129895f (diff) | |
download | swift-contrib-623ebbd00fe3b9d33c4cc86b3c47bcea125d8de3.zip swift-contrib-623ebbd00fe3b9d33c4cc86b3c47bcea125d8de3.tar.bz2 |
Fix bug related to adding messages at the top.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtChatView.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp index 1feb8eb..31172ac 100644 --- a/Swift/QtUI/QtChatView.cpp +++ b/Swift/QtUI/QtChatView.cpp @@ -463,6 +463,8 @@ int QtChatView::getSnippetPositionByDate(const QDate& date) { } void QtChatView::resetTopInsertPoint() { + QWebElement continuationElement = firstElement_.findFirst("#insert"); + continuationElement.removeFromDocument(); firstElement_ = QWebElement(); } |