rewrite selected items added so it uses sane actions dispatch system

This commit is contained in:
Andrzej Rybczak
2012-09-15 00:10:03 +02:00
parent 49a21370a6
commit c4190b6514
18 changed files with 431 additions and 282 deletions

View File

@@ -217,7 +217,7 @@ void SearchEngine::enterPressed()
reset();
}
else
myPlaylist->Add(w.current().value().song(), 1);
addSongToPlaylist(w.current().value().song(), true);
if (option < SearchButton)
Statusbar::unlock();
@@ -235,7 +235,7 @@ void SearchEngine::spacePressed()
return;
}
myPlaylist->Add(w.current().value().song(), 0);
addSongToPlaylist(w.current().value().song(), false);
w.scroll(NC::wDown);
}