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=65bf380dc403bed0af0971f586f4f1efbf70013b;hp=85b1e5a081b7d2598d722cb89b1790c258b90047;hpb=53e2bb4363368cc84b12da42bdd228d69b2aca9b;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); }