mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
History *works*
WIP on save on entry page doesn't show last change
This commit is contained in:
@@ -222,8 +222,6 @@ namespace ModernKeePass.Infrastructure.KeePass
|
||||
public void UpdateEntry(string entryId, string fieldName, object fieldValue)
|
||||
{
|
||||
var pwEntry = _pwDatabase.RootGroup.FindEntry(BuildIdFromString(entryId), true);
|
||||
pwEntry.Touch(true);
|
||||
pwEntry.CreateBackup(null);
|
||||
|
||||
switch (fieldName)
|
||||
{
|
||||
@@ -252,6 +250,13 @@ namespace ModernKeePass.Infrastructure.KeePass
|
||||
}
|
||||
}
|
||||
|
||||
public void AddHistory(string entryId)
|
||||
{
|
||||
var pwEntry = _pwDatabase.RootGroup.FindEntry(BuildIdFromString(entryId), true);
|
||||
pwEntry.Touch(true);
|
||||
pwEntry.CreateBackup(null);
|
||||
}
|
||||
|
||||
public void UpdateGroup(string groupId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
Reference in New Issue
Block a user