attempt to show & hide
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
6ac24113b5
commit
1f59cabaa8
|
@ -209,9 +209,10 @@ func parseConfig() {
|
||||||
log.Println("loadConfigFile() config.Accounts == nil")
|
log.Println("loadConfigFile() config.Accounts == nil")
|
||||||
log.Println("If debugging is on, should load default config here")
|
log.Println("If debugging is on, should load default config here")
|
||||||
if (config.Debug) {
|
if (config.Debug) {
|
||||||
log.Println("Debugging is on, loading debug config")
|
log.Println("Debugging is on, loading debug config accounts")
|
||||||
config = loadDefaultConfig()
|
tmp := loadDefaultConfig()
|
||||||
// onExit(fmt.Errorf("loadConfigFile() config.Accounts == nil"))
|
config.Accounts = tmp.Accounts
|
||||||
|
log.Println("loadConfigFile() config.Accounts =", config.Accounts)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
5
main.go
5
main.go
|
@ -417,6 +417,11 @@ func watchGUI() {
|
||||||
for {
|
for {
|
||||||
if (count > 10) {
|
if (count > 10) {
|
||||||
log.Println("Sleep() in watchGUI() gui.Data.State =", gui.Data.State)
|
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 = 0
|
||||||
}
|
}
|
||||||
count += 1
|
count += 1
|
||||||
|
|
Loading…
Reference in New Issue