restore delete shortcut
parent
7af4b2d890
commit
eb7460e8d8
|
|
@ -479,7 +479,7 @@ func (b *Browser) refreshActions() {
|
||||||
aa[ui.KeyE] = ui.NewKeyAction("Edit", b.editCmd, true)
|
aa[ui.KeyE] = ui.NewKeyAction("Edit", b.editCmd, true)
|
||||||
}
|
}
|
||||||
if client.Can(b.meta.Verbs, "delete") {
|
if client.Can(b.meta.Verbs, "delete") {
|
||||||
aa[ui.KeyZ] = ui.NewKeyAction("Delete", b.deleteCmd, true)
|
aa[tcell.KeyCtrlD] = ui.NewKeyAction("Delete", b.deleteCmd, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue