Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): ListView decrement selected on remove #1163

Merged
merged 1 commit into from
May 12, 2023

Conversation

ThomasFrans
Copy link
Contributor

When removing an element, it is important to check whether it was the last element in the list and decrement the selected index if so.

When removing an element, it is important to check whether it was the
last element in the list and decrement the selected index if so.
@hrkfdn hrkfdn merged commit e9f3487 into hrkfdn:main May 12, 2023
@hrkfdn
Copy link
Owner

hrkfdn commented May 12, 2023

Merged, thanks!

@ThomasFrans ThomasFrans deleted the fix-playlist-delete-last branch May 16, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants