summaryrefslogtreecommitdiff
path: root/windowNewPatchsets.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowNewPatchsets.go')
-rw-r--r--windowNewPatchsets.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/windowNewPatchsets.go b/windowNewPatchsets.go
index d5b2e79..b8cc31d 100644
--- a/windowNewPatchsets.go
+++ b/windowNewPatchsets.go
@@ -88,7 +88,6 @@ func (dwin *stdPatchsetTableWin) doPatchsetsTable(currentPatchsets *forgepb.Patc
dwin.TB = AddPatchsetsPB(dwin.box, currentPatchsets)
f := func(pset *forgepb.Patchset) {
log.Info("Triggered. do something here", pset.Name)
- // m.Enabled = true
win := makePatchWindow(pset)
win.Show()
}
@@ -109,7 +108,9 @@ func AddPatchsetsPB(tbox *gui.Node, pb *forgepb.Patchsets) *forgepb.PatchsetsTab
}
tp := t.AddButtonFunc("Analyse", testf)
tp.Custom = func(p *forgepb.Patchset) {
- log.Info("test patchset here", p.Name)
+ log.Info("show patches here", p.Name)
+ patchwin := makePatchesWin()
+ patchwin.doPatchesTable(p.Patches)
}
vp := t.AddButtonFunc("View Patchset", func(p *forgepb.Patchset) string {