1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

additional check

This commit is contained in:
Marek Kochanowicz 2014-03-10 17:57:40 +01:00
parent f4614c2c63
commit 17b521cec8

View File

@ -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;
}