diff options
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 { |
