diff --git a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp index f601ae39865..89fa1d39d19 100644 --- a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp +++ b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp @@ -1471,16 +1471,20 @@ void DesignerActionManager::createDefaultDesignerActions() &singleSelection, &singleSelection)); - addDesignerAction(new ModelNodeContextMenuAction( - goToImplementationCommandId, - goToImplementationDisplayName, - {}, - rootCategory, - QKeySequence(), - 42, - &goImplementation, - &singleSelectedAndUiFile, - &singleSelectedAndUiFile)); + const bool standaloneMode + = Core::ICore::settings()->value(DesignerSettingsKey::STANDALONE_MODE).toBool(); + + if (!standaloneMode) { + addDesignerAction(new ModelNodeContextMenuAction(goToImplementationCommandId, + goToImplementationDisplayName, + {}, + rootCategory, + QKeySequence(), + 42, + &goImplementation, + &singleSelectedAndUiFile, + &singleSelectedAndUiFile)); + } addDesignerAction(new ModelNodeContextMenuAction( addSignalHandlerCommandId,