Wrote TODO
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 17 Jul 2019 20:05:53 +0000 (22:05 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 17 Jul 2019 20:05:53 +0000 (22:05 +0200)
net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/GUIComponent.java

index 85b1e5a..2ffe890 100644 (file)
@@ -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);
        }