remove enterPressed from remaining screens
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "song.h"
|
||||
|
||||
struct SortPlaylistDialog
|
||||
: Screen<NC::Menu<RunnableItem<std::pair<std::string, MPD::Song::GetFunction>, void()>>>, Tabbable
|
||||
: Screen<NC::Menu<RunnableItem<std::pair<std::string, MPD::Song::GetFunction>, void()>>>, HasActions, Tabbable
|
||||
{
|
||||
typedef SortPlaylistDialog Self;
|
||||
|
||||
@@ -41,12 +41,15 @@ struct SortPlaylistDialog
|
||||
|
||||
virtual void update() OVERRIDE { }
|
||||
|
||||
virtual void enterPressed() OVERRIDE;
|
||||
virtual void mouseButtonPressed(MEVENT me) OVERRIDE;
|
||||
|
||||
virtual bool isLockable() OVERRIDE { return false; }
|
||||
virtual bool isMergable() OVERRIDE { return false; }
|
||||
|
||||
|
||||
// HasActions implementation
|
||||
virtual bool actionRunnable() OVERRIDE;
|
||||
virtual void runAction() OVERRIDE;
|
||||
|
||||
// private members
|
||||
void moveSortOrderUp();
|
||||
void moveSortOrderDown();
|
||||
|
||||
Reference in New Issue
Block a user