Fix bug due to rewriten layout.List() (updated Gio version).
This commit is contained in:
parent
7b3d59a581
commit
94c1d57933
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
cmd/passgo/passgo
|
||||
cmd/passgo-gui/passgo-gui
|
||||
nohup.out
|
||||
|
|
|
@ -365,7 +365,8 @@ func eventLoop() {
|
|||
}
|
||||
} else {
|
||||
for lst.Init(c, q, ops, cs, len(passBtns)); lst.More(); lst.Next() {
|
||||
btn := passBtns[lst.Index()]
|
||||
i := lst.Index()
|
||||
btn := passBtns[i]
|
||||
dims = btn.Layout(c, q, ops, lst.Constraints())
|
||||
lst.End(dims)
|
||||
if btn.Clicked() {
|
||||
|
@ -382,7 +383,7 @@ func eventLoop() {
|
|||
log(Info, "Can't decrypt ", name)
|
||||
log(Info, err)
|
||||
}
|
||||
}(pathnames[lst.Index()])
|
||||
}(pathnames[i])
|
||||
}
|
||||
}
|
||||
c2 = flex.End(lst.Layout())
|
||||
|
|
Loading…
Reference in New Issue
Block a user