mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
where was my mind…
This commit is contained in:
parent
ccd5e549cd
commit
a692ce99fa
2 changed files with 3 additions and 3 deletions
|
@ -834,7 +834,7 @@ namespace CSMWorld
|
||||||
|
|
||||||
virtual bool isUserEditable() const
|
virtual bool isUserEditable() const
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1114,7 +1114,7 @@ namespace CSMWorld
|
||||||
|
|
||||||
virtual bool isUserEditable() const
|
virtual bool isUserEditable() const
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -353,7 +353,7 @@ void CSVWorld::EditWidget::remake(int row)
|
||||||
QLabel* label = new QLabel(mTable->headerData (i, Qt::Horizontal).toString(), mMainWidget);
|
QLabel* label = new QLabel(mTable->headerData (i, Qt::Horizontal).toString(), mMainWidget);
|
||||||
label->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
label->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||||
editor->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
editor->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
||||||
if (!mTable->flags (mTable->index (0, i)))
|
if (! (mTable->flags (index) & Qt::ItemIsEditable))
|
||||||
{
|
{
|
||||||
lockedLayout->addWidget (label, locked, 0);
|
lockedLayout->addWidget (label, locked, 0);
|
||||||
lockedLayout->addWidget (editor, locked, 1);
|
lockedLayout->addWidget (editor, locked, 1);
|
||||||
|
|
Loading…
Reference in a new issue