forked from mirror/openmw-tes3mp
fixed editor creation for Display_LongString
This commit is contained in:
parent
7e653cebdf
commit
bec6c4e726
1 changed files with 5 additions and 2 deletions
|
@ -169,8 +169,11 @@ QWidget *CSVWorld::CommandDelegate::createEditor (QWidget *parent, const QStyleO
|
|||
return new QDoubleSpinBox(parent);
|
||||
|
||||
case CSMWorld::ColumnBase::Display_LongString:
|
||||
|
||||
return new QTextEdit(parent);
|
||||
{
|
||||
QPlainTextEdit *edit = new QPlainTextEdit(parent);
|
||||
edit->setUndoRedoEnabled (false);
|
||||
return edit;
|
||||
}
|
||||
|
||||
case CSMWorld::ColumnBase::Display_Boolean:
|
||||
|
||||
|
|
Loading…
Reference in a new issue