copy more fields from templates

This commit is contained in:
Philipp Crocoll
2017-07-10 11:43:42 +02:00
parent 6f43565baf
commit 1b99baa3ff

View File

@@ -67,6 +67,11 @@ namespace keepass2android
{
entry.Strings.Set("_etm_template_uuid", new ProtectedString(false, templateEntry.Uuid.ToHexString()));
entry.IconId = templateEntry.IconId;
entry.CustomIconUuid = templateEntry.CustomIconUuid;
entry.AutoType = templateEntry.AutoType.CloneDeep();
entry.Binaries = templateEntry.Binaries.CloneDeep();
entry.BackgroundColor = templateEntry.BackgroundColor;
entry.ForegroundColor = templateEntry.ForegroundColor;
foreach (string name in templateEntry.Strings.GetKeys())
{