From bf348a42d0e3cca46d0ebd6951cd79d17b7e484a Mon Sep 17 00:00:00 2001 From: xavier Date: Sat, 4 Jun 2011 12:44:17 +0000 Subject: [PATCH] Title block templates variables names now accept digits. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1294 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/diagramcontext.cpp b/sources/diagramcontext.cpp index a37a8b3ed..51d61af12 100644 --- a/sources/diagramcontext.cpp +++ b/sources/diagramcontext.cpp @@ -68,6 +68,6 @@ bool DiagramContext::operator!=(const DiagramContext &dc) const { @return true if that key is acceptable, false otherwise */ bool DiagramContext::keyIsAcceptable(const QString &key) const { - static QRegExp re("^[a-z-]+$"); + static QRegExp re("^[a-z0-9-]+$"); return(re.exactMatch(key)); }