From 1e6ab2e23c53750d8b06d59a42ad5826eca2e621 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Tue, 4 Apr 2017 10:32:02 -0400 Subject: [PATCH] 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 --- gui/playlist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/playlist.c b/gui/playlist.c index bce54d61..32a60519 100644 --- a/gui/playlist.c +++ b/gui/playlist.c @@ -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()); }