summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/doGui.go b/doGui.go
index 79e3e56..b2b08cb 100644
--- a/doGui.go
+++ b/doGui.go
@@ -179,20 +179,9 @@ func drawWindow(win *gadgets.GenericWindow) {
patchesWin.Toggle()
return
}
- // load the current patches protobuf file
- if err := me.forge.LoadPatchsets(); err != nil {
- log.Info("patches failed to open", err)
- if err := me.forge.SavePatchsets(); err != nil {
- log.Warn("savePatchsets() failed", err)
- }
- }
// patchesWin = makePatchesWin(me.forge.Patchsets)
notdone := new(forgepb.Patches)
- if me.forge.Patchsets == nil {
- log.Info("patchsets == nil")
- return
- }
all := me.forge.Patchsets.All()
for all.Scan() {
pset := all.Next()
@@ -203,6 +192,7 @@ func drawWindow(win *gadgets.GenericWindow) {
AddAllPatches(notdone, pset, false)
// AddNotDonePatches(notdone, pset, false)
}
+ notdone.PrintTable()
patchesWin = makePatchesWin(notdone)
})