summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/doGui.go b/doGui.go
index 26771e6..e1de155 100644
--- a/doGui.go
+++ b/doGui.go
@@ -196,7 +196,8 @@ func drawWindow(win *gadgets.BasicWindow) {
doCheckDirtyAndConfigSave()
found := findDirty()
_, box := makeStandardReposWindow("dirty repos", found)
- box.NewButton("commit all", func() {
+ hbox := box.Box().Horizontal()
+ hbox.NewButton("commit all", func() {
all := found.SortByFullPath()
for all.Scan() {
repo := all.Next()