From 18d9a7a099978174f81c016e90cdc9b6cd3162f2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 10 Mar 2025 13:52:25 -0500 Subject: trying to get patchset tables to work --- windowNewPatchsets.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'windowNewPatchsets.go') 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 { -- cgit v1.2.3