summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/window.go b/window.go
index d1ff8b7..baa4751 100644
--- a/window.go
+++ b/window.go
@@ -20,6 +20,7 @@ func (parent *Node) NewWindow(title string) *Node {
newNode.value = title
newNode.margin = true
newNode.visable = true
+ newNode.hidden = false
// inform the toolkits
sendAction(newNode, widget.Add)
@@ -84,8 +85,6 @@ func (n *Node) TestDraw() {
return
}
- // enable and
- // n.hidden = false
n.changed = true
n.visable = true
log.Verbose("TestDraw() sending widget.Add", n.id, n.WidgetType, n.progname)