mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix renaming groups #194
This commit is contained in:
@@ -998,13 +998,14 @@ public class GroupActivity extends LockingActivity
|
||||
// If update add new elements
|
||||
if (oldGroupToUpdate != null) {
|
||||
PwGroup updateGroup = oldGroupToUpdate.clone();
|
||||
updateGroup.setName(name);
|
||||
try {
|
||||
iconStandard = (PwIconStandard) icon;
|
||||
updateGroup = ((PwGroupV4) oldGroupToUpdate).clone(); // TODO generalize
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} // TODO custom icon
|
||||
}
|
||||
updateGroup.setName(name);
|
||||
// TODO custom icon
|
||||
updateGroup.setIconStandard(iconStandard);
|
||||
|
||||
if (listNodesFragment != null)
|
||||
|
||||
Reference in New Issue
Block a user