fixed editor creation for Display_LongString

This commit is contained in:
Marc Zinnschlag 2014-09-01 10:56:38 +02:00
parent 7e653cebdf
commit bec6c4e726

View file

@ -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: