diff options
| author | Jeff Carr <[email protected]> | 2025-09-05 12:53:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-05 12:53:05 -0500 |
| commit | e639f7d7b7930185aa319a91317087015887d75e (patch) | |
| tree | 27228d32cd811adb6ead90b5db93fa7b725c1284 /doGui.go | |
| parent | 790c48e0d0ef2fde8583820b8ab834449bf00ac0 (diff) | |
set patch NewHash
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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) }) |
