Commit 019ff9d0 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Don't append colons when completing namespaced types.

Task-number: QTCREATORBUG-1604
parent 9d77b7c1
......@@ -804,7 +804,7 @@ int CodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
if (value && completionOperator == QLatin1Char('.')) { // member completion
EnumerateProperties enumerateProperties(&context);
if (contextFinder.isInLhsOfBinding() && qmlScopeType)
if (contextFinder.isInLhsOfBinding() && qmlScopeType && expressionUnderCursor.text().at(0).isLower())
addCompletionsPropertyLhs(enumerateProperties(value), symbolIcon);
addCompletions(enumerateProperties(value), symbolIcon);
Markdown is supported
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