diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-09-19 01:18:41 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-09-19 01:18:41 +0200 |
commit | 3bdb7988520be526a330cdfd7056d37ea3d18183 (patch) | |
tree | e6b1ccae9219b1a8c52d9bfc13ca413e2f43c955 /src/media_library.cpp | |
parent | 2f971147b143ee280965f413df676d5c128157d0 (diff) |
clean NCurse::List class a bit and remove a few redundant functions
Diffstat (limited to 'src/media_library.cpp')
-rw-r--r-- | src/media_library.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/media_library.cpp b/src/media_library.cpp index f9fed51a..771a9e95 100644 --- a/src/media_library.cpp +++ b/src/media_library.cpp @@ -324,11 +324,11 @@ void MediaLibrary::SpacePressed() { if (Config.space_selects && w == Songs) { - Songs->SelectCurrent(); + Songs->Select(Songs->Choice(), !Songs->isSelected()); w->Scroll(wDown); - return; } - AddToPlaylist(0); + else + AddToPlaylist(0); } void MediaLibrary::MouseButtonPressed(MEVENT me) |