browser: scroll down after directory was added successfully

This commit is contained in:
Andrzej Rybczak
2015-07-15 20:42:43 +02:00
parent d5b4f1f8af
commit 6da51b00b3

View File

@@ -323,7 +323,10 @@ bool Browser::addItemToPlaylist()
result = addSongsToPlaylist(songs.begin(), songs.end(), false, -1);
}
else
{
Mpd.Add(item.directory().path());
result = true;
}
Statusbar::printf("Directory \"%1%\" added%2%",
item.directory().path(), withErrors(result)
);