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:
parent
56596e7589
commit
9fc66d5de6
1 changed files with 1 additions and 7 deletions
|
@ -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…
Reference in a new issue