forked from qt-creator/qt-creator
QmlDesigner: Remove Goto implementation from Design Studio
Task-number: QDS-5951 Change-Id: I5503f27508ec0e0f76506083baad3969730c651d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user