forked from qt-creator/qt-creator
Enable run configurations for projects that do not have a build step.
Reviewed-by: dt
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user