remove lock button for now
This commit is contained in:
parent
5884343a41
commit
dc56b91fc7
3
main.go
3
main.go
@ -82,6 +82,7 @@ func main() {
|
||||
|
||||
keyList.ShowHeaderColumn = false
|
||||
|
||||
/*
|
||||
var lockerButton *widget.Button
|
||||
lockerButton = widget.NewButton("Lock Agent", func() {
|
||||
// TODO: is there a better way?
|
||||
@ -93,6 +94,7 @@ func main() {
|
||||
lockerButton.SetText("Unlock Agent")
|
||||
}
|
||||
})
|
||||
*/
|
||||
|
||||
app.SetIcon(buildImage(len(tagent.keys), tagent.locked))
|
||||
|
||||
@ -185,7 +187,6 @@ func main() {
|
||||
container.NewBorder(
|
||||
container.New(
|
||||
layout.NewHBoxLayout(),
|
||||
lockerButton,
|
||||
widget.NewButton("Remove Keys", func() {
|
||||
tagent.RemoveAll()
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user