Introduce shortcut labeling in "Find in Viewport" context menu item in the Outliner (#7095)

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
monroegm-disable-blank-issue-2
Danilo Aimini 4 years ago committed by GitHub
parent 1cf7d57b3f
commit b1caed0f8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -890,6 +890,7 @@ namespace AzToolsFramework
m_actionGoToEntitiesInViewport = new QAction(tr("Find in viewport"), this);
m_actionGoToEntitiesInViewport->setShortcutContext(Qt::WidgetWithChildrenShortcut);
m_actionGoToEntitiesInViewport->setShortcut(tr("Z"));
connect(m_actionGoToEntitiesInViewport, &QAction::triggered, this, &EntityOutlinerWidget::GoToEntitiesInViewport);
addAction(m_actionGoToEntitiesInViewport);
}

Loading…
Cancel
Save