summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-25 18:30:59 -0600
committerJeff Carr <[email protected]>2024-01-25 18:30:59 -0600
commit94769f18413f5931d04a70c3541b0104b1bc66e0 (patch)
tree88dc32b7700962b5feaec86b5f0218f42aa7e74b /window.go
parentb88cca4b0d5f8948e682d6c70752c23ec7808d53 (diff)
hidden state is workingv0.13.12
Signed-off-by: Jeff Carr <[email protected]>
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)