summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 09:11:31 -0500
committerJeff Carr <[email protected]>2025-03-10 09:11:31 -0500
commit62b8c685f052cd973ddb7cc952f5c30aa8d122ed (patch)
treea37b6e899a5a69474dee017de2001287387a4703 /doGui.go
parent112c2d37d887fadd1da41a16da6bd2146203767c (diff)
more standard protobuf window for patches
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
index 943dd62..a42ef61 100644
--- a/doGui.go
+++ b/doGui.go
@@ -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 {