diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 11:02:14 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 11:02:14 -0700 |
| commit | faf1266c20524ef4a006fac417cb8df45ca28298 (patch) | |
| tree | 9d817866040bd1fec636d5e4460ad205152e9506 /misc.go | |
| parent | 41448f32f694da7d74c220795715b527855a37dc (diff) | |
doesn't crash
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'misc.go')
| -rw-r--r-- | misc.go | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -24,9 +24,14 @@ func ShowTab(gw *GuiWindow, tabname string, title string) *GuiWindow { window.UiTab.Delete(0) abox := window.MakeWindow(window) - window.BoxMap[tabname] = abox - window.UiTab.InsertAt(title, 0, abox.UiBox) - window.UiTab.SetMargined(0, true) + // add(nil, abox) + log.Println("ShowTab() NOT INSERTING TAB abox =", abox) + log.Println("ShowTab() NOT INSERTING TAB") + log.Println("ShowTab() NOT INSERTING TAB") + log.Println("ShowTab() NOT INSERTING TAB") +// window.BoxMap[tabname] = abox +// window.UiTab.InsertAt(title, 0, abox.UiBox) +// window.UiTab.SetMargined(0, true) return window } |
