Commit f5db3512 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Fix crash when changing a kit in project settings

Change-Id: Ib584cb5d6d1d3802f3a21b741b560ace78722b9a
Reviewed-by: default avatarhjk <>
parent 42cec455
......@@ -182,7 +182,8 @@ void IRunConfigurationAspect::toMap(QVariantMap &map) const
IRunConfigurationAspect *IRunConfigurationAspect::clone(RunConfiguration *parent) const
IRunConfigurationAspect *other = create(parent);
other->m_projectSettings = m_projectSettings->clone();
if (m_projectSettings)
other->m_projectSettings = m_projectSettings->clone();
other->m_globalSettings = m_globalSettings;
other->m_useGlobalSettings = m_useGlobalSettings;
return other;
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