summaryrefslogtreecommitdiff
path: root/windowNewPatchsets.go
diff options
context:
space:
mode:
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()