minor gui improvements

This commit is contained in:
Stephan Richter
2020-12-14 13:49:36 +01:00
parent d004fbfd6d
commit 8eb2bf62cf
6 changed files with 32 additions and 14 deletions

View File

@@ -97,7 +97,7 @@ public class Contact extends Tile{
}
public Contact addr(int address) {
Contact oldContact = contactsByAddr.remove(addr); // alte ID aus der Map löschen
contactsByAddr.remove(addr); // alte ID aus der Map löschen
addr = address;
if (addr != 0) contactsByAddr.put(addr, this); // neue ID setzen
return this;