diff options
author | 2013-10-27 20:09:11 +0100 | |
---|---|---|
committer | 2013-10-27 20:09:11 +0100 | |
commit | 5ff62d21030740914a1c6a5f158c191321cf7778 (patch) | |
tree | 0a64a13f9db4eabc2c7dc8c41fac831f58e0a0a9 /plugins/gtkui/ddblistview.c | |
parent | a306a117c799c158cb4f25f14fb047931c8584da (diff) |
gtkui: don't reinit playlist vscroll on selection changes; fixed empty space in laylist after removing tracks at the end
Diffstat (limited to 'plugins/gtkui/ddblistview.c')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index e590152b..7631c16a 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -1182,8 +1182,8 @@ ddb_listview_list_setup_vscroll (DdbListview *ps) { } else { gtk_widget_show (scroll); - if (ps->scrollpos >= vheight) { - ps->scrollpos = vheight-1; + if (ps->scrollpos >= vheight - a.height) { + ps->scrollpos = vheight - a.height; } } int h = a.height; |