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)); }