From 858f7fd93cf77bdb7bafbae0f58af6eae1766aec Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 May 2019 13:23:50 -0700 Subject: button handling almost completely cleaned up Signed-off-by: Jeff Carr --- debug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug.go') diff --git a/debug.go b/debug.go index 82e64af..31fc0f1 100644 --- a/debug.go +++ b/debug.go @@ -56,7 +56,7 @@ func addTableTab() { AddTableTab(Data.cloudTab, 1, "test seven", 7, parts) } -func addDebuggingButtons(vbox *ui.Box, custom func(*ButtonMap, string)) { +func addDebuggingButtons(vbox *ui.Box, custom func(*ButtonMap)) { vbox.Append(ui.NewLabel("Debugging:"), false) vbox.Append(ui.NewColorButton(), false) @@ -116,7 +116,7 @@ func addDebuggingButtons(vbox *ui.Box, custom func(*ButtonMap, string)) { vbox.Append(CreateButton("Load test.json config file", "CONFIG", custom), false) } -func runTestExecClick(b *ButtonMap, msg string) { +func runTestExecClick(b *ButtonMap) { log.Println("runTestExecClick START") if runtime.GOOS == "linux" { go runCommand("xterm -report-fonts") -- cgit v1.2.3