summaryrefslogtreecommitdiff
path: root/src/media_library.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-09-19 01:18:41 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2009-09-19 01:18:41 +0200
commit3bdb7988520be526a330cdfd7056d37ea3d18183 (patch)
treee6b1ccae9219b1a8c52d9bfc13ca413e2f43c955 /src/media_library.cpp
parent2f971147b143ee280965f413df676d5c128157d0 (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.cpp6
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)