Fix missing index validity check for cursortheme
Draft, because I am not sure why we get this crash. Maybe we call this method while CursorThemeModel::refreshList is in pogress? Or does resetting the model somehow mess with the indices?
Edited by Alexander Lohnau