mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
additional check
This commit is contained in:
parent
f4614c2c63
commit
17b521cec8
@ -113,8 +113,10 @@ void CSVWorld::DialogueDelegateDispatcher::setEditorData (QWidget* editor, const
|
||||
label->setText(QString::fromUtf8(enumNames.at(data).c_str()));
|
||||
} else
|
||||
{
|
||||
label->clear();
|
||||
label->setText(v.toString());
|
||||
if (QVariant::String == v.type())
|
||||
{
|
||||
label->setText(v.toString());
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user