Skip to content
Snippets Groups Projects
Commit 320f2651 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#199 - Fix zone selection

parent 7b7f12f1
No related branches found
No related tags found
No related merge requests found
......@@ -60,12 +60,8 @@ class Zone extends Displayable {
override def toString: String = name
def canEqual(other: Any): Boolean = other.isInstanceOf[Zone]
override def equals(other: Any): Boolean = other match {
case that: Zone =>
(that canEqual this) &&
name == that.name
case that: Zone => id == that.id
case _ => false
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment