gui/playlist: Unbold the previous playlist

Looks like this wasn't happening automatically, so let's be sure to
update the previous playlist's row after selecting a new playlist.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2017-04-04 10:32:02 -04:00
parent 83a21863b9
commit 1e6ab2e23c
1 changed files with 3 additions and 0 deletions

View File

@ -30,7 +30,10 @@ static inline void __gui_playlist_update_size(struct playlist *playlist)
void __playlist_row_activated(GtkTreeView *treeview, GtkTreePath *path,
GtkTreeViewColumn *col, gpointer data)
{
struct playlist *prev = playlist_cur();
gui_sidebar_filter_path_select(path);
__gui_playlist_update_size(prev);
__gui_playlist_update_size(playlist_cur());
}