forked from qt-creator/qt-creator
QbsProjectManager: Fix build setting getting lost
If the user set some qbs property and also unchecked the "Use default installation" box, the latter setting got lost on re-loading the build step configuration. Task-number: QTCREATORBUG-18895 Change-Id: I868312fbbd8e5ca9ad9f34b88866fe7b72884a9a Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
@@ -780,6 +780,9 @@ void QbsBuildStepConfigWidget::applyCachedProperties()
|
||||
if (tmp.contains(Constants::QBS_CONFIG_QUICK_DEBUG_KEY))
|
||||
data.insert(Constants::QBS_CONFIG_QUICK_DEBUG_KEY,
|
||||
tmp.value(Constants::QBS_CONFIG_QUICK_DEBUG_KEY));
|
||||
if (tmp.contains(Constants::QBS_INSTALL_ROOT_KEY))
|
||||
data.insert(Constants::QBS_INSTALL_ROOT_KEY,
|
||||
tmp.value(Constants::QBS_INSTALL_ROOT_KEY));
|
||||
|
||||
for (int i = 0; i < m_propertyCache.count(); ++i) {
|
||||
const Property &property = m_propertyCache.at(i);
|
||||
|
Reference in New Issue
Block a user