diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-07-01 08:46:48 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-07-01 08:46:48 (GMT) |
commit | 8af3fb34b9f5d9148d81b4f0d836b486e075f053 (patch) | |
tree | 41c70808b84871aaff85846d5e95960b835208d3 /Swift/QtUI/QtChatView.cpp | |
parent | a30f64bc07df14f7f9b4af0dadf20d7f8173560c (diff) | |
download | swift-contrib-8af3fb34b9f5d9148d81b4f0d836b486e075f053.zip swift-contrib-8af3fb34b9f5d9148d81b4f0d836b486e075f053.tar.bz2 |
Don't allow labels to be lost or changed during correction.
Resolves: #871
Diffstat (limited to 'Swift/QtUI/QtChatView.cpp')
-rw-r--r-- | Swift/QtUI/QtChatView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatView.cpp b/Swift/QtUI/QtChatView.cpp index a55161f..49e5974 100644 --- a/Swift/QtUI/QtChatView.cpp +++ b/Swift/QtUI/QtChatView.cpp @@ -169,7 +169,7 @@ void QtChatView::replaceMessage(const QString& newMessage, const QString& id, co rememberScrolledToBottom(); QWebElement message = document_.findFirst("#" + id); if (!message.isNull()) { - QWebElement replaceContent = message.findFirst("span.swift_message"); + QWebElement replaceContent = message.findFirst("span.swift_inner_message"); assert(!replaceContent.isNull()); QString old = replaceContent.toOuterXml(); replaceContent.setInnerXml(ChatSnippet::escape(newMessage)); |