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 update add new elements
|
||||||
if (oldGroupToUpdate != null) {
|
if (oldGroupToUpdate != null) {
|
||||||
PwGroup updateGroup = oldGroupToUpdate.clone();
|
PwGroup updateGroup = oldGroupToUpdate.clone();
|
||||||
updateGroup.setName(name);
|
|
||||||
try {
|
try {
|
||||||
iconStandard = (PwIconStandard) icon;
|
iconStandard = (PwIconStandard) icon;
|
||||||
updateGroup = ((PwGroupV4) oldGroupToUpdate).clone(); // TODO generalize
|
updateGroup = ((PwGroupV4) oldGroupToUpdate).clone(); // TODO generalize
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} // TODO custom icon
|
}
|
||||||
|
updateGroup.setName(name);
|
||||||
|
// TODO custom icon
|
||||||
updateGroup.setIconStandard(iconStandard);
|
updateGroup.setIconStandard(iconStandard);
|
||||||
|
|
||||||
if (listNodesFragment != null)
|
if (listNodesFragment != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user