diff --git a/src/MusicWheel.cpp b/src/MusicWheel.cpp index 7c2999724c..55f70215e5 100644 --- a/src/MusicWheel.cpp +++ b/src/MusicWheel.cpp @@ -1653,7 +1653,7 @@ public: else { Course *pC = Luna::check( L, 1, true ); - lua_pushboolean( L, p->TrySelectCourse( pC ) ); + lua_pushboolean( L, p->SelectCourse( pC ) ); } return 1; } diff --git a/src/MusicWheel.h b/src/MusicWheel.h index 03c1dae0c6..d0fb3c107f 100644 --- a/src/MusicWheel.h +++ b/src/MusicWheel.h @@ -38,7 +38,7 @@ public: Song *GetPreferredSelectionForRandomOrPortal(); bool SelectSong( const Song *p ); - bool TrySelectCourse( const Course *p ){ return TrySelectCourse(p); } + bool SelectCourse( const Course *p ); bool SelectSection( const RString & SectionName ); void SetOpenSection( RString group ); SortOrder GetSortOrder() const { return m_SortOrder; } @@ -58,7 +58,6 @@ protected: void GetSongList( vector &arraySongs, SortOrder so ); bool SelectSongOrCourse(); - bool SelectCourse( const Course *p ); bool SelectModeMenuItem(); virtual void UpdateSwitch();