From 9371ff5bce781137002cc61ea3fb213660bbd0aa Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 28 May 2019 17:22:10 -0700 Subject: [PATCH] correctly load the debug config file Signed-off-by: Jeff Carr --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index d829513..6685cd5 100644 --- a/main.go +++ b/main.go @@ -234,7 +234,8 @@ func mainMouseClick(b *gui.ButtonMap) { log.Println("\tTRIGGERING CREATE event.Account=", event.Account) prepareAndSend(event) } else if (b.Action == "CONFIG") { - loadDefaultConfig() + newConfig := loadDefaultConfig() + config.Accounts = newConfig.Accounts gui.Data.State = "done" } else if (b.Action == "DEBUG") { log.Println("\tdebug.PrintStack() (SHOULD BE JUST THIS goroutine)")