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,
|
||||||
&singleSelection));
|
&singleSelection));
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeContextMenuAction(
|
const bool standaloneMode
|
||||||
goToImplementationCommandId,
|
= Core::ICore::settings()->value(DesignerSettingsKey::STANDALONE_MODE).toBool();
|
||||||
goToImplementationDisplayName,
|
|
||||||
{},
|
if (!standaloneMode) {
|
||||||
rootCategory,
|
addDesignerAction(new ModelNodeContextMenuAction(goToImplementationCommandId,
|
||||||
QKeySequence(),
|
goToImplementationDisplayName,
|
||||||
42,
|
{},
|
||||||
&goImplementation,
|
rootCategory,
|
||||||
&singleSelectedAndUiFile,
|
QKeySequence(),
|
||||||
&singleSelectedAndUiFile));
|
42,
|
||||||
|
&goImplementation,
|
||||||
|
&singleSelectedAndUiFile,
|
||||||
|
&singleSelectedAndUiFile));
|
||||||
|
}
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeContextMenuAction(
|
addDesignerAction(new ModelNodeContextMenuAction(
|
||||||
addSignalHandlerCommandId,
|
addSignalHandlerCommandId,
|
||||||
|
Reference in New Issue
Block a user