From 9a2bc34776f54ab4b32a7618de4707a8a9b630ac Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 18 Jun 2019 14:57:47 +0200 Subject: [PATCH] Fix wrong default value for "Automatically manage signing" In iOS build configurations. When setting the default value after creating the "BoolAspect", also the value must be changed to that default. The original code only used the default value when restoring the aspect from settings. Task-number: QTCREATORBUG-22529 Change-Id: Icee0887e02d2b6d83273492a45f20c0263bb68cc Reviewed-by: Vikas Pachdha Reviewed-by: hjk --- src/plugins/projectexplorer/projectconfigurationaspects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/projectconfigurationaspects.cpp b/src/plugins/projectexplorer/projectconfigurationaspects.cpp index d9ad7c43346..a4cec91d287 100644 --- a/src/plugins/projectexplorer/projectconfigurationaspects.cpp +++ b/src/plugins/projectexplorer/projectconfigurationaspects.cpp @@ -372,6 +372,7 @@ bool BaseBoolAspect::defaultValue() const void BaseBoolAspect::setDefaultValue(bool defaultValue) { d->m_defaultValue = defaultValue; + d->m_value = defaultValue; } bool BaseBoolAspect::value() const