Skip to content

Commit

Permalink
fix(tracker/gioui): deleting a cell in the order list did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
vsariola committed Mar 14, 2024
1 parent c55b27b commit beb84d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracker/gioui/order_editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func (oe *OrderEditor) Layout(gtx C, t *Tracker) D {
func (oe *OrderEditor) handleEvents(gtx C, t *Tracker) {
for {
e, ok := gtx.Event(
key.Filter{Focus: oe.scrollTable, Name: key.NameDeleteBackward, Optional: key.ModShortcut},
key.Filter{Focus: oe.scrollTable, Name: key.NameDeleteForward, Optional: key.ModShortcut},
key.Filter{Focus: oe.scrollTable, Name: key.NameDeleteBackward, Required: key.ModShortcut},
key.Filter{Focus: oe.scrollTable, Name: key.NameDeleteForward, Required: key.ModShortcut},
key.Filter{Focus: oe.scrollTable, Name: key.NameReturn, Optional: key.ModShortcut},
key.Filter{Focus: oe.scrollTable, Name: "0"},
key.Filter{Focus: oe.scrollTable, Name: "1"},
Expand Down

0 comments on commit beb84d7

Please sign in to comment.