Commit 808bbf64 authored by dt's avatar dt
Browse files

Fix crash on adding cmake build configuration

parent 70adf628
......@@ -258,7 +258,11 @@ void MakeStepConfigWidget::updateDetails()
arguments << m_makeStep->additionalArguments();
CMakeBuildConfiguration *bc = m_makeStep->cmakeBuildConfiguration();
m_summaryText = tr("<b>Make:</b> %1 %2").arg(bc->toolChain()->makeCommand(), arguments.join(" "));
ProjectExplorer::ToolChain *tc = bc->toolChain();
if (tc)
m_summaryText = tr("<b>Make:</b> %1 %2").arg(tc->makeCommand(), arguments.join(" "));
else
m_summaryText = tr("<b>Unknown Toolchain</b>");
emit updateSummary();
}
......
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