diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 08:04:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 08:04:25 -0500 |
| commit | b02060493197150ef20776cbf920abb81a3844b1 (patch) | |
| tree | da7c2b627685872b06848eb10cf8efbe04a0536d /doGui.go | |
| parent | 9a32a7fe0b010cb1614dfd16197eaa23f196d722 (diff) | |
fix panic()
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -151,23 +151,13 @@ func drawWindow(win *gadgets.GenericWindow) { insertWin = makeReposWinNew() }) - /* - */ - var patchesWin *stdPatchTableWin - gridM.NewButton("Pending patches", func() { - /* - defer func() { - if r := recover(); r != nil { - log.Warn("PANIC ecovered in NewButton()", r) - } - }() - */ + gridM.NewButton("Your patches", func() { if patchesWin != nil { patchesWin.Toggle() return } - me.forge.GetPatches() + // me.forge.GetPatches() // loadUpstreamPatchsets() if me.psets == nil { log.Info("failed to download current patchsets") |
