Include label and labelOverride in Searchable equality check
This commit is contained in:
parent
4c8173360e
commit
7a3d4a48b9
@ -52,7 +52,7 @@ abstract class Searchable : Comparable<Searchable> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun equals(other: Any?): Boolean {
|
override fun equals(other: Any?): Boolean {
|
||||||
return if (other is Searchable) key == other.key
|
return if (other is Searchable) key == other.key && label == other.label && labelOverride == other.labelOverride
|
||||||
else super.equals(other)
|
else super.equals(other)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user