mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Add flags to Entry::clone() for customized cloning.
This commit is contained in:
parent
cb804eb143
commit
f2dfef8c41
8 changed files with 97 additions and 14 deletions
|
@ -224,7 +224,7 @@ void DatabaseWidget::cloneEntry()
|
|||
return;
|
||||
}
|
||||
|
||||
Entry* entry = currentEntry->clone();
|
||||
Entry* entry = currentEntry->clone(Entry::CloneNewUuid | Entry::CloneResetTimeInfo);
|
||||
entry->setGroup(currentEntry->group());
|
||||
m_entryView->setFocus();
|
||||
m_entryView->setCurrentEntry(entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue