mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-13 21:36:43 +00:00
additional check
This commit is contained in:
parent
f4614c2c63
commit
17b521cec8
1 changed files with 4 additions and 2 deletions
|
@ -113,9 +113,11 @@ void CSVWorld::DialogueDelegateDispatcher::setEditorData (QWidget* editor, const
|
||||||
label->setText(QString::fromUtf8(enumNames.at(data).c_str()));
|
label->setText(QString::fromUtf8(enumNames.at(data).c_str()));
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
label->clear();
|
if (QVariant::String == v.type())
|
||||||
|
{
|
||||||
label->setText(v.toString());
|
label->setText(v.toString());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue