diff options
| author | Jeff Carr <[email protected]> | 2019-05-29 11:48:32 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-29 11:48:32 -0700 |
| commit | 73804529267500c49f6321d2fb33c028c2c2fbef (patch) | |
| tree | 493d340e8ab90f79931599f5ce54d7b2a0731e50 /debug.go | |
| parent | d3819ea331dc12cb142b0a825f5e27b4a7441a53 (diff) | |
more dereference improvements
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -26,13 +26,13 @@ func setupCloudUI() { return true }) - Data.cloudTab = ui.NewTab() - Data.cloudWindow.SetChild(Data.cloudTab) + window1.T = ui.NewTab() + Data.cloudWindow.SetChild(window1.T) Data.cloudWindow.SetMargined(true) Data.tabcount = 0 - Data.cloudTab.Append("Cloud Info", makeCloudInfoBox()) - Data.cloudTab.SetMargined(Data.tabcount, true) + window1.T.Append("Cloud Info", makeCloudInfoBox()) + window1.T.SetMargined(Data.tabcount, true) Data.cloudWindow.Show() } @@ -51,7 +51,7 @@ func addTableTab() { log.Println("Sleep for 2 seconds, then try to add new tabs") time.Sleep(1 * 1000 * 1000 * 1000) - AddTableTab(Data.cloudTab, 1, "test seven", 7, parts, nil) + AddTableTab(window1.T, 1, "test seven", 7, parts, nil) } func addDebuggingButtons(vbox *ui.Box) { |
