From 787172116d961bf5de93558a9e33e612e69f4d5c Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Fri, 27 Apr 2018 15:27:06 +0100 Subject: [PATCH] Save the name when updating the cipher data --- src/api/core/ciphers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index 2d16bd56..a3b46cc4 100644 --- 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();