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:
parent
83a21863b9
commit
1e6ab2e23c
|
@ -30,7 +30,10 @@ static inline void __gui_playlist_update_size(struct playlist *playlist)
|
||||||
void __playlist_row_activated(GtkTreeView *treeview, GtkTreePath *path,
|
void __playlist_row_activated(GtkTreeView *treeview, GtkTreePath *path,
|
||||||
GtkTreeViewColumn *col, gpointer data)
|
GtkTreeViewColumn *col, gpointer data)
|
||||||
{
|
{
|
||||||
|
struct playlist *prev = playlist_cur();
|
||||||
|
|
||||||
gui_sidebar_filter_path_select(path);
|
gui_sidebar_filter_path_select(path);
|
||||||
|
__gui_playlist_update_size(prev);
|
||||||
__gui_playlist_update_size(playlist_cur());
|
__gui_playlist_update_size(playlist_cur());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue