Save the name when updating the cipher data

This commit is contained in:
Miroslav Prasil 2018-04-27 15:27:06 +01:00
parent da47846f22
commit 787172116d

View File

@ -188,6 +188,7 @@ fn update_cipher_from_data(cipher: &mut Cipher, data: CipherData, headers: &Head
// Copy the type data and change the names to the correct case // Copy the type data and change the names to the correct case
copy_values(&type_data, &mut values); copy_values(&type_data, &mut values);
cipher.name = data.name;
cipher.data = values.to_string(); cipher.data = values.to_string();