projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrote TODO
[Mograsim.git]
/
net.mograsim.logic.model
/
src
/
net
/
mograsim
/
logic
/
model
/
model
/
components
/
GUIComponent.java
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
85b1e5a
..
2ffe890
100644
(file)
--- 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;
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);
}
model.componentCreated(this);
}