From 792011c1c958b3d0e3917e9988904ce94fb23a9a Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 10 Apr 2017 19:08:27 +0300 Subject: [PATCH] Allow message text selection --- src/HistoryViewItem.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HistoryViewItem.cc b/src/HistoryViewItem.cc index c23091fe..f13462a2 100644 --- a/src/HistoryViewItem.cc +++ b/src/HistoryViewItem.cc @@ -64,6 +64,7 @@ HistoryViewItem::HistoryViewItem(const Event &event, bool with_sender, const QSt "" ""); content_label_->setText(content.arg(color).arg(sender).arg(body)); + content_label_->setTextInteractionFlags(Qt::TextSelectableByMouse); top_layout_ = new QHBoxLayout(); top_layout_->setMargin(0);