.. it recalculates the scrolled list after renaming a line
How does this work? You get only a notification from textinput, when return is pressed. Maybe the lines should be recalculated each time a new one is selected.
that would be a better solution. The patch is more or less to catch at least one case of name-change.