birdman
Moderator
I appear to have have a solution.
Basically the renameCallback() has to assume it has renamed things and hence they may need to be resorted (not just redisplayed). Hence it needs to reload() the data after the renames (which might be a list of them).
Try this version of Screens/MovieSelection.py and see whether it works for you.
View attachment MovieSelection.zip
It does leave you on the same index in the list, rather than move with a renamed item, but since you might be renaming multiple items at once this will need to do.
Basically the renameCallback() has to assume it has renamed things and hence they may need to be resorted (not just redisplayed). Hence it needs to reload() the data after the renames (which might be a list of them).
Try this version of Screens/MovieSelection.py and see whether it works for you.
View attachment MovieSelection.zip
It does leave you on the same index in the list, rather than move with a renamed item, but since you might be renaming multiple items at once this will need to do.
