1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +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;
}