diff options
| author | Jeff Carr <[email protected]> | 2025-03-10 09:11:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-10 09:11:31 -0500 |
| commit | 62b8c685f052cd973ddb7cc952f5c30aa8d122ed (patch) | |
| tree | a37b6e899a5a69474dee017de2001287387a4703 /doGui.go | |
| parent | 112c2d37d887fadd1da41a16da6bd2146203767c (diff) | |
more standard protobuf window for patches
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -228,6 +228,15 @@ func drawWindow(win *gadgets.GenericWindow) { reposWin = makeReposWin() }) + var patches *stdPatchsetTableWin + gridM.NewButton("New Patch Window", func() { + if patches != nil { + patches.Toggle() + return + } + patches = makePatchsetsWin() + }) + // set the initial button state based on the last // forge mode the user saved in the config file switch me.forge.Config.Mode { |
