summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-11-03 01:44:32 -0500
committerJeff Carr <[email protected]>2021-11-03 01:44:32 -0500
commit234f4fbaa3b6014442b039f437da297f9fd404d3 (patch)
tree563326be6e764f59e561abed6c9bd33155f9577f /window.go
parent92488450644ef663c9a5a18639216bf4d0ff5755 (diff)
WINDOW: try to properly destroy a window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
-rw-r--r--window.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/window.go b/window.go
index ceb9cd1..b776ad6 100644
--- a/window.go
+++ b/window.go
@@ -120,6 +120,13 @@ func NewWindow() *Node {
if (Data.NodeMap[title] != nil) {
log.Println("Duplicate window name =", title)
+ Data.NodeMap[title].Dump()
+ Data.NodeMap[title].ListChildren(false)
+ uiW := Data.NodeMap[title].uiWindow
+ if (uiW != nil) {
+ uiW.Show()
+ }
+ panic("check here to see if window is really alive")
return Data.NodeMap[title]
}