summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doGui.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
index 10d579f..4b73077 100644
--- a/doGui.go
+++ b/doGui.go
@@ -106,6 +106,8 @@ func drawWindow(win *gadgets.BasicWindow) {
// you can merge everything into the devel branch and make sure it actually
// works. Then, when that is good, merge and version everything in master
me.setBranchB = grid.NewButton("git checkout", func() {
+ win.Disable()
+ defer win.Enable()
if reposWin != nil {
log.Info("reposWin == nil")
reposWin.Hide()