X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fmodel%2Fcomponents%2FGUIComponent.java;h=2ffe890f27e35e23a0662d1bdf0fcbf0ec7a1766;hb=a36b5eded424a8c480140e9ce853145c2bcc9d7e;hp=85b1e5a081b7d2598d722cb89b1790c258b90047;hpb=3977f16649531ca3ba345c9cd5ec365e0b804783;p=Mograsim.git diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/GUIComponent.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/GUIComponent.java index 85b1e5a0..2ffe890f 100644 --- a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/GUIComponent.java +++ b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/GUIComponent.java @@ -74,6 +74,8 @@ public abstract class GUIComponent implements JSONSerializable redrawListenerForSubcomponents = this::requestRedraw; + // TODO this will crash the high level state debug shell because submodel is not yet set. + // The same problem exists in ViewModelModifiable.getDefaultComponentName; see there model.componentCreated(this); }