Commit 2d60bd35 authored by dt's avatar dt
Browse files

Fix setActiveRunconfiguration(0)

parent 5f2ae2af
......@@ -189,7 +189,7 @@ RunConfiguration* Target::activeRunConfiguration() const
void Target::setActiveRunConfiguration(RunConfiguration* configuration)
{
if ((!configuration && !m_runConfigurations.isEmpty()) ||
if ((!configuration && m_runConfigurations.isEmpty()) ||
(configuration && m_runConfigurations.contains(configuration) &&
configuration != m_activeRunConfiguration)) {
m_activeRunConfiguration = configuration;
......
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