Commit d3cf2c59 authored by dt_'s avatar dt_ Committed by Daniel Teske

Keep the old name on editing qt versions

Change-Id: I80782e8256360f944a09f77de5da30884adccffa
Task-Nr: QTCREATORBUG-5126
Reviewed-on: http://codereview.qt.nokia.com/454Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 186f4115
......@@ -510,6 +510,8 @@ void QtOptionsPageWidget::editPath()
}
// same type, replace
version->setId(current->uniqueId());
if (current->displayName() != current->defaultDisplayName(current->qtVersionString(), current->qmakeCommand()))
version->setDisplayName(current->displayName());
m_versions.replace(m_versions.indexOf(current), version);
delete current;
......
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