diff options
| author | Jeff Carr <[email protected]> | 2025-02-02 16:26:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-02 16:26:18 -0600 |
| commit | bf66727ab78bdadc3b9179f2a26453b0269800e2 (patch) | |
| tree | 1e077a3ddc954d037f23dd3dfea886109f0c0e3d /doGui.go | |
| parent | 6aafc842ae1aef39e8676ed8da2f8e79c5e48d09 (diff) | |
disable window while 'git checkout' is running
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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() |
