summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-10 19:08:27 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-10 19:08:27 +0300
commit792011c1c958b3d0e3917e9988904ce94fb23a9a (patch)
treefff264e919f367c566c153cf5fbdc2ef08d13c63 /src
parentHandle room avatars in top bar without an icon (diff)
downloadnheko-792011c1c958b3d0e3917e9988904ce94fb23a9a.tar.xz
Allow message text selection
Diffstat (limited to 'src')
-rw-r--r--src/HistoryViewItem.cc1
1 files changed, 1 insertions, 0 deletions
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
 		"</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);