mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 06:36:07 -04:00
Prompt to delete recycle bin when disabling it
Fixes #3365 Add prompt to delete the recycle bin when disabling it. If the user chooses not to delete it, the recycle bin will be suffixed with "(old)" and the icon changed to the default group icon. Also moved recycle bin creation within the database class where it belongs.
This commit is contained in:
parent
a1e12c1b30
commit
a876b3b72f
5 changed files with 39 additions and 16 deletions
|
@ -799,7 +799,7 @@ void TestGroup::testAddEntryWithPath()
|
|||
void TestGroup::testIsRecycled()
|
||||
{
|
||||
Database* db = new Database();
|
||||
db->rootGroup()->createRecycleBin();
|
||||
db->metadata()->setRecycleBinEnabled(true);
|
||||
|
||||
Group* group1 = new Group();
|
||||
group1->setName("group1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue