Commit 11002691 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.model: relax checks for ids

id: list
id: on
etc. are actually allowed.

We should rely on the parser for this kind of checks anyway.

Task-number: QTCREATORBUG-3347
parent 0c400389
......@@ -163,8 +163,7 @@ QString ModelNode::validId()
static bool idIsQmlKeyWord(const QString& id)
QStringList keywords;
keywords << "import" << "property" << "signal"
<< "as" << "on" << "list";
keywords << "import" << "as";
return keywords.contains(id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment