Skip to content

Fix playlist index after search#177

Merged
Rigellute merged 1 commit into
masterfrom
unknown repository
Dec 2, 2019
Merged

Fix playlist index after search#177
Rigellute merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 1, 2019

After searching, playlist index is changed to None and it makes playlist selection odd.
I deleted a line that binds None to selected_playlist_index and it worked well.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this should be Some(0)?

@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 2, 2019

You are right. Fixed it.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @echoSayonara 👍

@Rigellute Rigellute merged commit 50b7638 into Rigellute:master Dec 2, 2019
nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
…-after-search

Fix playlist index after search
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.

1 participant