diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-10 19:08:27 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-10 19:08:27 +0300 |
commit | 792011c1c958b3d0e3917e9988904ce94fb23a9a (patch) | |
tree | fff264e919f367c566c153cf5fbdc2ef08d13c63 /src | |
parent | Handle room avatars in top bar without an icon (diff) | |
download | nheko-792011c1c958b3d0e3917e9988904ce94fb23a9a.tar.xz |
Allow message text selection
Diffstat (limited to 'src')
-rw-r--r-- | src/HistoryViewItem.cc | 1 |
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); |