mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 22:42:34 -04:00
Implement ability to clone an entry when in search mode.
* Cloned entries have "- Clone" appended to their name
This commit is contained in:
parent
6ccae6cc37
commit
16ed89c471
5 changed files with 9 additions and 5 deletions
|
@ -566,7 +566,7 @@ void TestGui::testCloneEntry()
|
|||
QCOMPARE(entryView->model()->rowCount(), 2);
|
||||
Entry* entryClone = entryView->entryFromIndex(entryView->model()->index(1, 1));
|
||||
QVERIFY(entryOrg->uuid() != entryClone->uuid());
|
||||
QCOMPARE(entryClone->title(), entryOrg->title());
|
||||
QCOMPARE(entryClone->title(), entryOrg->title() + QString(" - Clone"));
|
||||
}
|
||||
|
||||
void TestGui::testDragAndDropEntry()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue