From 623ebbd00fe3b9d33c4cc86b3c47bcea125d8de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20Badea?= Date: Sat, 11 Aug 2012 23:05:27 +0300 Subject: Fix bug related to adding messages at the top. 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(); } -- cgit v0.10.2-6-g49f6