diff options
author | waker <wakeroid@gmail.com> | 2009-08-30 19:28:01 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-30 19:28:01 +0200 |
commit | 8efe8f3c745f42fcad1df00638544a138dbadeb6 (patch) | |
tree | cfa43d9ca612b9a58944ac8d78b2c064383a4763 /gtkplaylist.c | |
parent | 7c22819bee92325cc64b771d9b5f230817519c16 (diff) |
fixed scrolling to top after stop was pressed
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r-- | gtkplaylist.c | 2 |
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) { |