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 <hjk121@nokiamail.com>
parent 42cec455
......@@ -182,6 +182,7 @@ void IRunConfigurationAspect::toMap(QVariantMap &map) const
IRunConfigurationAspect *IRunConfigurationAspect::clone(RunConfiguration *parent) const
{
IRunConfigurationAspect *other = create(parent);
if (m_projectSettings)
other->m_projectSettings = m_projectSettings->clone();
other->m_globalSettings = m_globalSettings;
other->m_useGlobalSettings = m_useGlobalSettings;
......
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