summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r--plugins/gtkui/gtkui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index 480c6663..7f97791f 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -577,12 +577,14 @@ on_add_location_activate (GtkMenuItem *menuitem,
static void
songchanged (DdbListview *ps, DB_playItem_t *from, DB_playItem_t *to) {
- int str_plt = deadbeef->streamer_get_current_playlist ();
int plt = deadbeef->plt_get_curr ();
+#if 0 // this breaks redraw when playqueue switches to another playlist
+ int str_plt = deadbeef->streamer_get_current_playlist ();
if (plt != str_plt) {
// have nothing to do here -- active playlist is not the one with playing song
return;
}
+#endif
int to_idx = -1;
if (!ddb_listview_is_scrolling (ps) && to) {
to_idx = deadbeef->pl_get_idx_of (to);