From 3457022801df42461fa2858001532e8d8d770f8d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 23 Sep 2009 06:25:30 +0000 Subject: [PATCH] show all songs (not just preferred) in editcourse --- stepmania/src/ScreenOptionsEditCourse.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenOptionsEditCourse.cpp b/stepmania/src/ScreenOptionsEditCourse.cpp index 8448947e13..bfe1be5999 100644 --- a/stepmania/src/ScreenOptionsEditCourse.cpp +++ b/stepmania/src/ScreenOptionsEditCourse.cpp @@ -138,7 +138,14 @@ static int EntryIndexAndRowTypeToRow( int iEntryIndex, RowType rowType ) void ScreenOptionsEditCourse::Init() { ScreenOptions::Init(); - SONGMAN->GetPreferredSortSongs( m_vpSongs ); + + SongCriteria sc; + sc.m_Selectable = SongCriteria::Selectable_Yes; + sc.m_Tutorial = SongCriteria::Tutorial_No; + sc.m_Locked = SongCriteria::Locked_Unlocked; + + SongUtil::FilterSongs( sc, SONGMAN->GetAllSongs(), m_vpSongs ); + SongUtil::SortSongPointerArrayByTitle( m_vpSongs ); }