fix: number of entries in group did not immediately update when adding entries
This commit is contained in:
@@ -90,10 +90,15 @@ namespace keepass2android
|
||||
|
||||
// Mark parent group dirty
|
||||
_app.DirtyGroups.Add(parent);
|
||||
|
||||
// even mark the parent of the parent dirty to update the views showing the number of child entries
|
||||
if (parent?.ParentGroup != null)
|
||||
{
|
||||
_app.DirtyGroups.Add(parent.ParentGroup);
|
||||
}
|
||||
|
||||
|
||||
} else
|
||||
|
||||
} else
|
||||
{
|
||||
StatusLogger.UpdateMessage(UiStringKey.UndoingChanges);
|
||||
//TODO test fail
|
||||
|
Reference in New Issue
Block a user