From 652f130faef2c1818b8c8025768c589add4a82b3 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 1 Apr 2022 14:10:16 +0200 Subject: [PATCH] ProjectExplorer: Bring back keyboard shortcut for "Manage Sessions" It got lost in 2d196bd2a1. Fixes: QTCREATORBUG-26950 Change-Id: If181e478488aa6732bb17fae4d72196854c396f7 Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/projectexplorer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 791de917d59..b3644d0b404 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1213,9 +1213,10 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er dd->m_sessionManagerAction = new QAction(tr("&Manage..."), this); dd->m_sessionMenu->addAction(dd->m_sessionManagerAction); dd->m_sessionMenu->addSeparator(); + cmd = ActionManager::registerAction(dd->m_sessionManagerAction, + "ProjectExplorer.ManageSessions"); cmd->setDefaultKeySequence(QKeySequence()); - // unload action dd->m_unloadAction = new ParameterAction(tr("Close Project"), tr("Close Pro&ject \"%1\""), ParameterAction::AlwaysEnabled, this);