mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
additional modification to the IDValidator (restricting relaxed mode slightly more)
This commit is contained in:
parent
dc473221e7
commit
67bc0a0c70
@ -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…
x
Reference in New Issue
Block a user