Commit a609689a authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix make not found in environment



Change-Id: I5bfbe8cf36556cceec02011012d2d1c09d0c0ebc
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent d2243c97
......@@ -346,11 +346,6 @@ void MakeStepConfigWidget::updateDetails()
if (!m_makeStep->m_makeCmd.isEmpty())
makeCmd = m_makeStep->m_makeCmd;
param.setCommand(makeCmd);
if (param.commandMissing()) {
m_summaryText = tr("<b>Make:</b> %1 not found in the environment.").arg(makeCmd);
emit updateSummary();
return;
}
QString args = m_makeStep->userArguments();
if (!m_makeStep->isClean()) {
......@@ -377,6 +372,9 @@ void MakeStepConfigWidget::updateDetails()
param.setArguments(args);
param.setEnvironment(env);
m_summaryText = param.summaryInWorkdir(displayName());
if (param.commandMissing())
m_summaryText = tr("<b>Make:</b> %1 not found in the environment.").arg(makeCmd); // Override display text
emit updateSummary();
}
......
Supports Markdown
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