Allow message text selection

This commit is contained in:
Konstantinos Sideris 2017-04-10 19:08:27 +03:00
parent 1c9e92b8bd
commit 792011c1c9

View file

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