Skip to content

Commit

Permalink
Update model.go
Browse files Browse the repository at this point in the history
  • Loading branch information
g026r authored Oct 9, 2024
1 parent 6edb951 commit 0722ca5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/ui/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,9 +816,6 @@ func (m *Model) saveEntry() (tea.Model, tea.Cmd) {
tmp[i] = m.entries[i]
}
cmd = m.gameList.SetItems(tmp) // TODO: This is really kind of ugly. Can we make it neater?
// if m.gameList.FilterState() != list.Unfiltered && len(m.gameList.VisibleItems()) == 0 {
// m.gameList.ResetFilter()
// }
}

if m.GenerateNew {
Expand Down

0 comments on commit 0722ca5

Please sign in to comment.