forked from teamnwah/openmw-tes3coop
use qlinedit for the var
This commit is contained in:
parent
874847c959
commit
cc96a38921
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue