diff options
| author | Jeff Carr <[email protected]> | 2025-03-10 13:52:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-10 13:52:25 -0500 |
| commit | 18d9a7a099978174f81c016e90cdc9b6cd3162f2 (patch) | |
| tree | 152bc0f9b0fde42a16c53036b9a0f3c02cb04f59 /windowNewPatchsets.go | |
| parent | 2c5841f5ecf7432fb09b3bcf6aee8783ec0c1432 (diff) | |
trying to get patchset tables to work
Diffstat (limited to 'windowNewPatchsets.go')
| -rw-r--r-- | windowNewPatchsets.go | 5 |
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 { |
