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>
This commit is contained in:
Eike Ziller
2019-06-18 14:57:47 +02:00
parent 26ca8f0849
commit 9a2bc34776

View File

@@ -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