Commit 19fb0311 authored by Kai Koehne's avatar Kai Koehne
Browse files

Enable run configurations for projects that do not have a build step.

Reviewed-by: dt
parent d8b2598f
...@@ -61,7 +61,8 @@ bool RunConfiguration::isEnabled() const ...@@ -61,7 +61,8 @@ bool RunConfiguration::isEnabled() const
{ {
if (!m_project) if (!m_project)
return false; return false;
if (!m_project->activeBuildConfiguration()) if (m_project->hasBuildSettings()
&& !m_project->activeBuildConfiguration())
return false; return false;
return isEnabled(m_project->activeBuildConfiguration()); return isEnabled(m_project->activeBuildConfiguration());
} }
......
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