1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-13 17:39:40 +00:00

additional modification to the IDValidator (restricting relaxed mode slightly more)

This commit is contained in:
Marc Zinnschlag 2013-10-22 11:32:10 +02:00
parent dc473221e7
commit 67bc0a0c70

View file

@ -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