summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorCătălin Badea <catalin.badea392@gmail.com>2012-08-11 20:05:27 (GMT)
committerCătălin Badea <catalin.badea392@gmail.com>2012-08-11 20:05:27 (GMT)
commit623ebbd00fe3b9d33c4cc86b3c47bcea125d8de3 (patch)
treedd1d9003ab10e70d96d204257ff603f6bc4a63f0 /Swift
parent4b0af9ad53611182c6254111198f3b9e0129895f (diff)
downloadswift-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.cpp2
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();
}