1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 02:09:41 +00:00

Fix(idvalidator): Allow any printable character in refIds

This commit is contained in:
Dave Corley 2024-02-21 15:25:13 -06:00
parent 56596e7589
commit 9fc66d5de6

View file

@ -4,13 +4,7 @@
bool CSVWorld::IdValidator::isValid(const QChar& c, bool first) const
{
if (c.isLetter() || c == '_')
return true;
if (!first && (c.isDigit() || c.isSpace()))
return true;
return false;
return c.isPrint() ? true : false;
}
CSVWorld::IdValidator::IdValidator(bool relaxed, QObject* parent)