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