aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-12 13:13:16 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-12 15:10:38 +0200
commitd364f28039e17eb8096b8c47119920d9cf6dd622 (patch)
tree5269534fc46132d1f723b2c450441829885f1e94
parent7b79dc3e57bfa1c4bc5ddebeb67a48f5fd88318c (diff)
downloadnncmpp-d364f28039e17eb8096b8c47119920d9cf6dd622.tar.gz
nncmpp-d364f28039e17eb8096b8c47119920d9cf6dd622.tar.xz
nncmpp-d364f28039e17eb8096b8c47119920d9cf6dd622.zip
Fix view after playlist update
-rw-r--r--nncmpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 277235a..4abdcb3 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -1994,6 +1994,7 @@ static void
current_tab_update (void)
{
g_current_tab.super.item_count = g_ctx.playlist.len;
+ app_fix_view_range ();
app_invalidate ();
}