diff options
| author | Jeff Carr <[email protected]> | 2025-09-07 12:05:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-07 12:05:36 -0500 |
| commit | db758bbed22ad2542e80f927a2d27f5be19ddd5b (patch) | |
| tree | 95ef2269d785247d26a21e1bbff29755ebc87b7c /doGui.go | |
| parent | 3df2601f274645fd9db9b791aa76b62b5f3b6f3a (diff) | |
work on "forge pull"
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -175,11 +175,16 @@ func drawWindow(win *gadgets.GenericWindow) { }) var patchesWin *stdPatchTableWin - gridM.NewButton("Your patches", func() { + var patchButton *gui.Node + patchButton = gridM.NewButton("Your patches", func() { if patchesWin != nil { patchesWin.Toggle() return } + if !isPatchingSafe() { + patchButton.SetLabel("not safe yet") + return + } // patchesWin = makePatchesWin(me.forge.Patchsets) notdone := new(forgepb.Patches) |
