mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Fix(idvalidator): Allow any printable character in refIds
This commit is contained in:
parent
56596e7589
commit
9fc66d5de6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user