mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04: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 (mRelaxed)
|
||||||
{
|
{
|
||||||
if (input.indexOf ('"')!=-1 || input.indexOf ("::")!=-1)
|
if (input.indexOf ('"')!=-1 || input.indexOf ("::")!=-1 || input.indexOf ("#")!=-1)
|
||||||
return QValidator::Invalid;
|
return QValidator::Invalid;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user