UI: Fix selecting correct transition when deleting
When deleting a transition, it would sometimes select the one that replaces it, which could be the separator. This would cause undefined behavior. This fixes it so that it selects either the one that replaces it (if a valid one replaces it), or the transition at the bottom of the known list and not the separator.
Showing
想要评论请 注册 或 登录