correctly load the debug config file

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 17:22:10 -07:00
parent 17f5afe61e
commit 9371ff5bce
1 changed files with 2 additions and 1 deletions

View File

@ -234,7 +234,8 @@ func mainMouseClick(b *gui.ButtonMap) {
log.Println("\tTRIGGERING CREATE event.Account=", event.Account) log.Println("\tTRIGGERING CREATE event.Account=", event.Account)
prepareAndSend(event) prepareAndSend(event)
} else if (b.Action == "CONFIG") { } else if (b.Action == "CONFIG") {
loadDefaultConfig() newConfig := loadDefaultConfig()
config.Accounts = newConfig.Accounts
gui.Data.State = "done" gui.Data.State = "done"
} else if (b.Action == "DEBUG") { } else if (b.Action == "DEBUG") {
log.Println("\tdebug.PrintStack() (SHOULD BE JUST THIS goroutine)") log.Println("\tdebug.PrintStack() (SHOULD BE JUST THIS goroutine)")