diff --git a/src/chatlog/chatline.cpp b/src/chatlog/chatline.cpp index 69ae5c991..0ae8c8e61 100644 --- a/src/chatlog/chatline.cpp +++ b/src/chatlog/chatline.cpp @@ -134,6 +134,7 @@ void ChatLine::replaceContent(int col, ChatLineContent *lineContent) delete content[col]; content[col] = lineContent; + lineContent->setIndex(rowIndex, col); scene->addItem(content[col]); layout(width, pos);