summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-05 12:53:05 -0500
committerJeff Carr <[email protected]>2025-09-05 12:53:05 -0500
commite639f7d7b7930185aa319a91317087015887d75e (patch)
tree27228d32cd811adb6ead90b5db93fa7b725c1284 /doGui.go
parent790c48e0d0ef2fde8583820b8ab834449bf00ac0 (diff)
set patch NewHash
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)
})