1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 17:19:56 +00:00

make non-editable fields in dialogue sub view selectable (Fixes #2818)

This commit is contained in:
Marc Zinnschlag 2015-08-06 08:45:38 +02:00 committed by cc9cii
parent c157fef2e0
commit c3a31d13b1

View file

@ -104,7 +104,9 @@ QWidget* CSVWorld::NotEditableSubDelegate::createEditor (QWidget *parent,
const QStyleOptionViewItem& option, const QStyleOptionViewItem& option,
const QModelIndex& index) const const QModelIndex& index) const
{ {
return new QLabel(parent); QLabel *label = new QLabel(parent);
label->setTextInteractionFlags (Qt::TextSelectableByMouse);
return label;
} }
/* /*