[Fix] AbstractStrolchTimedState should also clone optional fields

This commit is contained in:
Robert von Burg 2017-03-28 19:30:11 +02:00
parent 537c6ea8d0
commit 299f789fb2
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ public abstract class AbstractStrolchTimedState<T extends IValue> extends Abstra
protected void fillClone(AbstractStrolchTimedState<T> clone) {
super.fillClone(clone);
clone.hidden = this.hidden;
clone.index = this.index;
clone.interpretation = this.interpretation;
clone.uom = this.uom;
clone.state = this.state.getCopy();
}