correctly load the debug config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
17f5afe61e
commit
9371ff5bce
3
main.go
3
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)")
|
||||
|
|
Loading…
Reference in New Issue