diff options
| author | Jeff Carr <[email protected]> | 2021-11-03 01:44:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-11-03 01:44:32 -0500 |
| commit | 234f4fbaa3b6014442b039f437da297f9fd404d3 (patch) | |
| tree | 563326be6e764f59e561abed6c9bd33155f9577f /window.go | |
| parent | 92488450644ef663c9a5a18639216bf4d0ff5755 (diff) | |
WINDOW: try to properly destroy a window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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] } |
