mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
fixed editor creation for Display_LongString
This commit is contained in:
parent
7e653cebdf
commit
bec6c4e726
@ -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…
x
Reference in New Issue
Block a user