mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
fix restore of object settings
This commit is contained in:
parent
3f9ee4918e
commit
a036de9687
1 changed files with 3 additions and 0 deletions
|
@ -1298,6 +1298,9 @@ bool DomainServerSettingsManager::restoreSettingsFromObject(QJsonObject settings
|
|||
}
|
||||
} else {
|
||||
// we have a value to restore, use update setting to set it
|
||||
// but clear the existing value first so that no merging between the restored settings
|
||||
// and existing settings occurs
|
||||
variantValue->clear();
|
||||
|
||||
// we might need to re-grab config group map in case it didn't exist when we looked for it before
|
||||
// but was created by the call to valueForKeyPath before
|
||||
|
|
Loading…
Reference in a new issue