commit 787172116d961bf5de93558a9e33e612e69f4d5c
parent da47846f2258b72ba92746f14868360469432c10
Author: Miroslav Prasil <miroslav@prasil.info>
Date: Fri, 27 Apr 2018 15:27:06 +0100
Save the name when updating the cipher data
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs
@@ -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_values(&type_data, &mut values);
+ cipher.name = data.name;
cipher.data = values.to_string();