summaryrefslogtreecommitdiff
path: root/gtkplaylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r--gtkplaylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c
index 697992fd..60ff5f3b 100644
--- a/gtkplaylist.c
+++ b/gtkplaylist.c
@@ -758,7 +758,7 @@ gtkpl_playsongnum (int idx) {
void
gtkpl_songchanged (gtkplaylist_t *ps, int from, int to) {
- if (!dragwait) {
+ if (!dragwait && to != -1) {
GtkWidget *widget = ps->playlist;
if (session_get_cursor_follows_playback ()) {
if (to < ps->scrollpos || to >= ps->scrollpos + ps->nvisiblefullrows) {