attempt to show & hide

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-29 13:11:22 -07:00
parent 6ac24113b5
commit 1f59cabaa8
2 changed files with 9 additions and 3 deletions

View File

@ -209,9 +209,10 @@ func parseConfig() {
log.Println("loadConfigFile() config.Accounts == nil")
log.Println("If debugging is on, should load default config here")
if (config.Debug) {
log.Println("Debugging is on, loading debug config")
config = loadDefaultConfig()
// onExit(fmt.Errorf("loadConfigFile() config.Accounts == nil"))
log.Println("Debugging is on, loading debug config accounts")
tmp := loadDefaultConfig()
config.Accounts = tmp.Accounts
log.Println("loadConfigFile() config.Accounts =", config.Accounts)
}
}
}

View File

@ -417,6 +417,11 @@ func watchGUI() {
for {
if (count > 10) {
log.Println("Sleep() in watchGUI() gui.Data.State =", gui.Data.State)
if (gui.Data.State == "HIDE") {
gui.Data.Window1.Box1.Show()
gui.Data.Window1.Box2.Show()
gui.Data.State = "done"
}
count = 0
}
count += 1