summaryrefslogtreecommitdiff
path: root/windowNewPatchsets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 17:14:59 -0500
committerJeff Carr <[email protected]>2025-03-10 17:14:59 -0500
commit1b145d1f04e4cd0e83f1c603af13803f0027fabb (patch)
tree461464affe90941f8d4d647570085e7144fbfaf6 /windowNewPatchsets.go
parent391a988e5f638f5c4b33b78f1f0ac9df7e670518 (diff)
rm old code
Diffstat (limited to 'windowNewPatchsets.go')
-rw-r--r--windowNewPatchsets.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/windowNewPatchsets.go b/windowNewPatchsets.go
index 2b8bb46..f6517c1 100644
--- a/windowNewPatchsets.go
+++ b/windowNewPatchsets.go
@@ -39,7 +39,7 @@ func makePatchsetsWin() *stdPatchsetTableWin {
}
grid := dwin.win.Group.RawGrid()
- grid.NewButton("reload current patches", func() {
+ grid.NewButton("reload", func() {
psets, err := me.forge.GetPatchesets()
if err != nil {
log.Info("Get Patchsets failed", err)
@@ -118,8 +118,9 @@ func AddPatchsetsPB(tbox *gui.Node, pb *forgepb.Patchsets) *forgepb.PatchsetsTab
})
vp.Custom = func(pset *forgepb.Patchset) {
log.Info("show patches here", pset.Name)
- patchwin := makePatchesWin()
- patchwin.doPatchesTable(pset.Patches)
+ makePatchesWin(pset.Patches)
+ // patchwin := makePatchesWin()
+ // patchwin.doPatchesTable(pset.Patches)
/*
win := makePatchWindow(pset)
win.Show()