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);