Commit d21668d8 authored by dt's avatar dt
Browse files

Fixes: Run from the sidebar running the wrong project.

Task:     242196
Details:  Introduced while fixing the run from context menu runs wrong project fix.
parent ad76902f
......@@ -517,6 +517,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
cmd = am->registerAction(m_runAction, Constants::RUN, globalcontext);
mbuild->addAction(cmd, Constants::G_BUILD_RUN);
modeManager->addAction(cmd, Constants::P_ACTION_RUN, m_runConfigurationMenu);
m_runActionContextMenu = new QAction(runIcon, tr("Run"), this);
cmd = am->registerAction(m_runActionContextMenu, Constants::RUNCONTEXTMENU, globalcontext);
......@@ -533,8 +534,6 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
connect(mbuild->menu(), SIGNAL(aboutToShow()), this, SLOT(populateRunConfigurationMenu()));
connect(m_runConfigurationMenu, SIGNAL(triggered(QAction *)), this, SLOT(runConfigurationMenuTriggered(QAction *)));
modeManager->addAction(cmd, Constants::P_ACTION_RUN, m_runConfigurationMenu);
// jump to next task
m_taskAction = new QAction(tr("Go to Task Window"), this);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment