Id should always represent position in file

This commit is contained in:
2023-09-07 13:06:40 -05:00
parent 8a9e6c2bec
commit 6ea3390313
2 changed files with 32 additions and 7 deletions

View File

@@ -34,9 +34,6 @@ func (timerlist *TimerList) Sort(sortFlag int) error {
}
func (timerlist *TimerList) refresh() {
timerlist.Sort(timerlist.SortFlag)
for i, t := range timerlist.Timers {
t.Id = i
}
}
type timerlistSort struct {