summaryrefslogtreecommitdiff
path: root/plugins/gtkui/widgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui/widgets.c')
-rw-r--r--plugins/gtkui/widgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/widgets.c b/plugins/gtkui/widgets.c
index acf9a4e2..88c0f8f7 100644
--- a/plugins/gtkui/widgets.c
+++ b/plugins/gtkui/widgets.c
@@ -1782,7 +1782,7 @@ w_tabbed_playlist_message (ddb_gtkui_widget_t *w, uint32_t id, uintptr_t ctx, ui
g_idle_add (trackfocus_cb, w);
break;
case DB_EV_SELCHANGED:
- if (ctx != (uintptr_t)tp->list) {
+ if (ctx != (uintptr_t)tp->list || p2 == PL_SEARCH) {
g_idle_add (refresh_cb, tp->list);
}
break;
@@ -1835,7 +1835,7 @@ w_playlist_message (ddb_gtkui_widget_t *w, uint32_t id, uintptr_t ctx, uint32_t
g_idle_add (trackfocus_cb, w);
break;
case DB_EV_SELCHANGED:
- if (ctx != (uintptr_t)p->list) {
+ if (ctx != (uintptr_t)p->list || p2 == PL_SEARCH) {
g_idle_add (refresh_cb, p->list);
}
break;