summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-06-18 14:57:47 +0200
committerEike Ziller <eike.ziller@qt.io>2019-06-18 13:06:48 +0000
commit9a2bc34776f54ab4b32a7618de4707a8a9b630ac (patch)
treebc0d05b8a42ac5b0432b93360971a75f01402e40 /src/plugins/projectexplorer
parent26ca8f08490106c6ad322330f603fccfb7898fc3 (diff)
downloadqt-creator-9a2bc34776f54ab4b32a7618de4707a8a9b630ac.tar.gz
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 <vikas.pachdha@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r--src/plugins/projectexplorer/projectconfigurationaspects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectconfigurationaspects.cpp b/src/plugins/projectexplorer/projectconfigurationaspects.cpp
index d9ad7c4334..a4cec91d28 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