mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-03 06:45:33 +00:00
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);
|
return new QSpinBox(parent);
|
||||||
}
|
}
|
||||||
|
if (display == CSMWorld::ColumnBase::Display_Var)
|
||||||
|
{
|
||||||
|
return new QLineEdit(parent);
|
||||||
|
}
|
||||||
if (display == CSMWorld::ColumnBase::Display_Float)
|
if (display == CSMWorld::ColumnBase::Display_Float)
|
||||||
{
|
{
|
||||||
return new QDoubleSpinBox(parent);
|
return new QDoubleSpinBox(parent);
|
||||||
|
|
Loading…
Reference in a new issue