summaryrefslogtreecommitdiff
path: root/tab.go
diff options
context:
space:
mode:
Diffstat (limited to 'tab.go')
-rw-r--r--tab.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tab.go b/tab.go
index 0669cf6..59f6496 100644
--- a/tab.go
+++ b/tab.go
@@ -22,8 +22,8 @@ func (n *Node) NewTab(text string) *Node {
log(logError, "NewTab() parent =", n.parent)
if (n.parent.WidgetType == toolkit.Root) {
// also broken
- log(logError, "NewTab() TODO: make a window here", n)
- panic("NewTab did not get passed a window")
+ log(logError, "NewTab() TODO: make or find a window here", n)
+ panic("NewTab() did not get passed a window")
}
// go up the binary tree until we find a window widget to add a tab too
return n.parent.NewTab(text)