Allow message text selection

This commit is contained in:
Konstantinos Sideris 2017-04-10 19:08:27 +03:00
parent 1c9e92b8bd
commit 792011c1c9
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ HistoryViewItem::HistoryViewItem(const Event &event, bool with_sender, const QSt
"</body>"
"</html>");
content_label_->setText(content.arg(color).arg(sender).arg(body));
content_label_->setTextInteractionFlags(Qt::TextSelectableByMouse);
top_layout_ = new QHBoxLayout();
top_layout_->setMargin(0);