summaryrefslogtreecommitdiff
path: root/box.go
diff options
context:
space:
mode:
Diffstat (limited to 'box.go')
-rw-r--r--box.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/box.go b/box.go
index 0d2a487..1b08945 100644
--- a/box.go
+++ b/box.go
@@ -60,9 +60,9 @@ func add(box *GuiBox, newbox *GuiBox) {
}
if (box.UiBox == nil) {
- DebugDataNodeChildren()
box.Dump()
return
+ // TODO: fix this whole add() function // Oct 9
panic("gui.add() ERROR box.UiBox == nil")
}
box.UiBox.Append(newbox.UiBox, false)