From 67bc0a0c70379ed703ffcfb513b78b090f51bc77 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Tue, 22 Oct 2013 11:32:10 +0200 Subject: [PATCH] additional modification to the IDValidator (restricting relaxed mode slightly more) --- apps/opencs/view/world/idvalidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/view/world/idvalidator.cpp b/apps/opencs/view/world/idvalidator.cpp index c685e44ee2..7c210daaec 100644 --- a/apps/opencs/view/world/idvalidator.cpp +++ b/apps/opencs/view/world/idvalidator.cpp @@ -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