Commit 422d825d authored by Thomas Hartmann's avatar Thomas Hartmann

QmlJSEditor: only show context menu for Quick Toolbar if available

Task-number: QTCREATORBUG-4521
Change-Id: Iedd97549c6f724b58a0727694ea1b34a2c70d9e9
Reviewed-on: default avatarLeandro T. C. Melo <>
Reviewed-by: default avatarFawzi Mohamed <>
Reviewed-by: default avatarThomas Hartmann <>
parent e8bc4851
......@@ -1389,6 +1389,10 @@ void QmlJSTextEditorWidget::contextMenuEvent(QContextMenuEvent *e)
if (action->objectName() == QmlJSEditor::Constants::M_REFACTORING_MENU_INSERTION_POINT)
if (action->objectName() == QmlJSEditor::Constants::SHOW_QT_QUICK_HELPER) {
bool enabled = m_contextPane->isAvailable(editor(), semanticInfo().document, m_semanticInfo.declaringMemberNoProperties(position()));
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