mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 20:45:34 +00:00
additional modification to the IDValidator (restricting relaxed mode slightly more)
This commit is contained in:
parent
dc473221e7
commit
67bc0a0c70
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ QValidator::State CSVWorld::IdValidator::validate (QString& input, int& pos) con
|
|||
{
|
||||
if (mRelaxed)
|
||||
{
|
||||
if (input.indexOf ('"')!=-1 || input.indexOf ("::")!=-1)
|
||||
if (input.indexOf ('"')!=-1 || input.indexOf ("::")!=-1 || input.indexOf ("#")!=-1)
|
||||
return QValidator::Invalid;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue