Preserve Secret Service exposed group setting on merge

* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
This commit is contained in:
Jonathan White
2024-03-18 07:45:31 -04:00
parent 3829bcdd8f
commit 94ace985e7
2 changed files with 5 additions and 15 deletions

View File

@@ -190,7 +190,7 @@ void CustomData::updateLastModified(QDateTime lastModified)
bool CustomData::isProtected(const QString& key) const
{
return key.startsWith(CustomData::BrowserKeyPrefix) || key.startsWith(CustomData::Created);
return key.startsWith(BrowserKeyPrefix) || key == Created || key == FdoSecretsExposedGroup;
}
bool CustomData::isAutoGenerated(const QString& key) const