Make jump_to_playing_song not runnable if there is no playing song

This commit is contained in:
Andrzej Rybczak
2017-01-11 04:44:26 +01:00
parent cd414810a5
commit a5827cf1de
3 changed files with 11 additions and 9 deletions

View File

@@ -682,6 +682,8 @@ struct JumpToPlayingSong: BaseAction
private:
virtual bool canBeRun() override;
virtual void run() override;
MPD::Song m_song;
};
struct ToggleRepeat: BaseAction