mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix history copy
This commit is contained in:
@@ -24,7 +24,6 @@ import android.util.Log
|
||||
import com.kunzisoft.keepass.database.element.*
|
||||
import com.kunzisoft.keepass.database.exception.CopyDatabaseEntryException
|
||||
import com.kunzisoft.keepass.database.exception.CopyDatabaseGroupException
|
||||
import com.kunzisoft.keepass.database.exception.LoadDatabaseException
|
||||
|
||||
class CopyNodesRunnable constructor(
|
||||
context: Context,
|
||||
|
||||
@@ -633,7 +633,7 @@ class Database {
|
||||
* @param newParent
|
||||
*/
|
||||
fun copyEntryTo(entryToCopy: EntryVersioned, newParent: GroupVersioned): EntryVersioned? {
|
||||
val entryCopied = EntryVersioned(entryToCopy)
|
||||
val entryCopied = EntryVersioned(entryToCopy, false)
|
||||
entryCopied.nodeId = pwDatabaseV3?.newEntryId() ?: pwDatabaseV4?.newEntryId() ?: PwNodeIdUUID()
|
||||
entryCopied.parent = newParent
|
||||
entryCopied.title += " (~)"
|
||||
|
||||
Reference in New Issue
Block a user