mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 11:56:43 -08:00
15 files changed
+201
-85
No files matched your search
@@ -119,7 +119,7 @@ class Entry : Node, EntryVersionedInterface<Group> {
|
||||
entryKDBX?.icon = value
|
||||
}
|
||||
|
||||
var tags: Tags
|
||||
override var tags: Tags
|
||||
get() = entryKDBX?.tags ?: Tags()
|
||||
set(value) {
|
||||
entryKDBX?.tags = value
|
||||
|
||||
@@ -127,7 +127,7 @@ class Group : Node, GroupVersionedInterface<Group, Entry> {
|
||||
groupKDBX?.icon = value
|
||||
}
|
||||
|
||||
var tags: Tags
|
||||
override var tags: Tags
|
||||
get() = groupKDBX?.tags ?: Tags()
|
||||
set(value) {
|
||||
groupKDBX?.tags = value
|
||||
|
||||
@@ -20,11 +20,14 @@
|
||||
package com.kunzisoft.keepass.database.element.node
|
||||
|
||||
import com.kunzisoft.keepass.database.element.Group
|
||||
import com.kunzisoft.keepass.database.element.Tags
|
||||
|
||||
interface Node: NodeVersionedInterface<Group> {
|
||||
|
||||
val nodeId: NodeId<*>?
|
||||
|
||||
var tags: Tags
|
||||
|
||||
fun addParentFrom(node: Node) {
|
||||
parent = node.parent
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user