Commit 924edb3d authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.Model: Fix help lookup

There is no need to replace anything. We just have to prepend ".QML".

Change-Id: I16ebfd1915ad7e879eb790acf3d69e880a313729
Reviewed-by: default avatarMarco Bubke <>
parent 9117e29e
......@@ -429,8 +429,7 @@ QString AbstractView::contextHelpId() const
QString helpId;
if (hasSelectedModelNodes()) {
helpId = firstSelectedModelNode().type();
helpId.replace(QStringLiteral("QtQuick"), QStringLiteral("QML"));
helpId = QStringLiteral("QML.") + firstSelectedModelNode().simplifiedTypeName();
return helpId;
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