summaryrefslogtreecommitdiff
path: root/tabWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-22 19:18:55 -0700
committerJeff Carr <[email protected]>2019-05-22 19:18:55 -0700
commit72c316dc990ca42faa23704ccf924ed0abd4e2c2 (patch)
tree6d10015d470e89c2e4347736e44548e504cb87fb /tabWindow.go
parent7ea694b0865b3fead15c0ad5d0192d43badb5fd4 (diff)
calls back on button clicks
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tabWindow.go')
-rw-r--r--tabWindow.go13
1 files changed, 4 insertions, 9 deletions
diff --git a/tabWindow.go b/tabWindow.go
index 8f75848..876944b 100644
--- a/tabWindow.go
+++ b/tabWindow.go
@@ -30,16 +30,11 @@ func buttonClick(i int, s string) {
log.Println("Figure out what to do here")
log.Println("Figure out what to do here")
log.Println("Figure out what to do here")
- /*
- cloudTab.Delete(0)
-
- log.Println("Sleep(2000)")
- time.Sleep(2000 * time.Millisecond)
- smallBox = AddAccountBox(nil, splashClose)
- cloudTab.InsertAt("Intro", 0, smallBox)
- cloudTab.SetMargined(0, true)
- */
+ if (Data.ButtonClick != nil) {
+ log.Println("Data.ButtonClick() START")
+ Data.ButtonClick(i, s)
+ }
}
func ShowAccountTab() {