Skip to content

Commit

Permalink
reset the duplicate indicator when selecting another match
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed May 30, 2024
1 parent 16e3683 commit bbb9f01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/entry/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,10 @@ func (c *Controller) SelectMatch(index int) {
return
}

c.input.callsign = matches[index]
c.enterCallsign(matches[index])
c.showInput()
c.activeField = core.CallsignField
c.Enter(matches[index])
c.view.SetCallsign(c.input.callsign)
c.GotoNextField()
}

func (c *Controller) Enter(text string) {
Expand Down

0 comments on commit bbb9f01

Please sign in to comment.