use qlinedit for the var

This commit is contained in:
Marek Kochanowicz 2014-03-10 13:27:52 +01:00
parent 874847c959
commit cc96a38921

View file

@ -147,6 +147,10 @@ QWidget *CSVWorld::CommandDelegate::createEditor (QWidget *parent, const QStyleO
{
return new QSpinBox(parent);
}
if (display == CSMWorld::ColumnBase::Display_Var)
{
return new QLineEdit(parent);
}
if (display == CSMWorld::ColumnBase::Display_Float)
{
return new QDoubleSpinBox(parent);