mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04:00
make non-editable fields in dialogue sub view selectable (Fixes #2818)
This commit is contained in:
parent
c157fef2e0
commit
c3a31d13b1
@ -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