BitDisplay, ManualSwitch now Observable. More Docs added in Timeline.
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / wires / WireCrossPoint.java
index 0949ffb..927e4e5 100644 (file)
@@ -34,7 +34,7 @@ public class WireCrossPoint extends GUIComponent
        public void setLogicModelBinding(ReadEnd end)
        {
                this.end = end;
-               end.addObserver((i, o) -> callComponentLookChangedListeners());
+               end.registerObserver((i) -> callComponentLookChangedListeners());
        }
 
        public int getLogicWidth()