Skip to content
Snippets Groups Projects
Commit 42c66a8b authored by Kai Koehne's avatar Kai Koehne
Browse files

Forbid IDs with capital letters in QmlDesigner

See according changes in kinetic-declarativeui.
parent c0e85146
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ QString ModelNode::validId()
static bool idContainsWrongLetter(const QString& id)
{
static QRegExp idExpr(QLatin1String("[a-zA-Z][a-zA-Z0-9_]*"));
static QRegExp idExpr(QLatin1String("[a-z][a-zA-Z0-9_]*"));
return !idExpr.exactMatch(id);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment