Skip to content

Commit

Permalink
Fix issue with name export.
Browse files Browse the repository at this point in the history
InnerText of XML contains the name value of an account, but the export process was incorrectly assigning that value as the second entry in the row of cells, which is the description and not account name.
  • Loading branch information
JohnWildkins authored and Laz committed Aug 22, 2019
1 parent 2963bd8 commit 389ef0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Forms/Primary.cs
Expand Up @@ -1061,7 +1061,7 @@ private void ExportAccountSaveFileDialog_FileOk(object sender, CancelEventArgs e
XmlAttribute sigAttribute = xmlDocument.CreateAttribute("signature");
sigAttribute.Value = row.Cells[5].Value.ToString();

element2.InnerText = row.Cells[1].Value.ToString();
element2.InnerText = row.Cells[0].Value.ToString();
element2.Attributes.Append(descriptionAttribute);
element2.Attributes.Append(categoryAttribute);
element2.Attributes.Append(favAttribute);
Expand Down

0 comments on commit 389ef0e

Please sign in to comment.