fix: improper edit menu focusing
This commit is contained in:
@@ -170,6 +170,13 @@ func (d *AssetEditDialog) Focus(delegate func(tview.Primitive)) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if event.Key() == tcell.KeyBacktab {
|
||||||
|
d.focusElement = createAssetFormFocus
|
||||||
|
d.Focus(delegate)
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
event = utils.ParseKeyEventKey(d.logger, event)
|
event = utils.ParseKeyEventKey(d.logger, event)
|
||||||
if event.Key() == tcell.KeyDown {
|
if event.Key() == tcell.KeyDown {
|
||||||
d.nextCategory()
|
d.nextCategory()
|
||||||
|
|||||||
Reference in New Issue
Block a user