mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Allow message text selection
This commit is contained in:
parent
1c9e92b8bd
commit
792011c1c9
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue