[qet] [1294] Title block templates variables names now accept digits. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 1294
Author: xavier
Date: 2011-06-04 14:44:17 +0200 (Sat, 04 Jun 2011)
Log Message:
-----------
Title block templates variables names now accept digits.
Modified Paths:
--------------
branches/0.3/sources/diagramcontext.cpp
Modified: branches/0.3/sources/diagramcontext.cpp
===================================================================
--- branches/0.3/sources/diagramcontext.cpp 2011-06-04 11:42:20 UTC (rev 1293)
+++ branches/0.3/sources/diagramcontext.cpp 2011-06-04 12:44:17 UTC (rev 1294)
@@ -68,6 +68,6 @@
@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));
}