disable window while 'git checkout' is running
This commit is contained in:
parent
6aafc842ae
commit
bf66727ab7
2
doGui.go
2
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()
|
||||
|
|
Loading…
Reference in New Issue