Merge #4739
4739: Closes #3720: Incorrect selection notification when session removed r=pocmo,rocketsroger a=csadilek
This fixes two issues:
- The issue described in #3720 where removing the selected session does not cause a `onSessionSelected` notification
- Sending an unnecessary `onSessionSelected` when removing a session to the left of the selected session. In that case the index changed but it's still the same session that's selected and observers should not need to get notified that a session was selected
Co-authored-by:
Christian Sadilek <christian.sadilek@gmail.com>
Please register or sign in to comment