old code nope
This commit is contained in:
parent
297355f27e
commit
ad2c2ff2ec
7
doGui.go
7
doGui.go
|
@ -104,13 +104,6 @@ func doGui() {
|
|||
mainWindow := gadgets.NewGenericWindow("Forge: A federated git development tool by WIT.COM", "Current Settings")
|
||||
mainWindow.Custom = func() {
|
||||
log.Warn("MAIN WINDOW CLOSE")
|
||||
now := time.Now()
|
||||
count := me.forge.RillReload()
|
||||
log.Info("Repo Reload count =", count)
|
||||
if count != 0 {
|
||||
me.forge.ConfigSave()
|
||||
}
|
||||
log.Printf("rill repos.Reload() took (%s)\n", shell.FormatDuration(time.Since(now)))
|
||||
okExit("")
|
||||
}
|
||||
drawWindow(mainWindow)
|
||||
|
|
Loading…
Reference in New Issue