mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
make non-editable fields in dialogue sub view selectable (Fixes #2818)
This commit is contained in:
parent
f06c4c1e18
commit
469a896ca1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user