mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Recycle bin is now created when deleting first element instead of selecting new group in Settings
This commit is contained in:

committed by
BONNEVILLE Geoffroy

parent
7e642e3b73
commit
82ef424365
@@ -196,6 +196,8 @@ namespace ModernKeePass.ViewModels
|
||||
|
||||
public void MarkForDelete()
|
||||
{
|
||||
if (_app.Database.RecycleBinEnabled && _app.Database.RecycleBin?.IdUuid == null)
|
||||
_app.Database.CreateRecycleBin();
|
||||
Move(_app.Database.RecycleBinEnabled && !ParentGroup.IsSelected ? _app.Database.RecycleBin : null);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user