If CreateNewScreen is empty, use old behavior, otherwise set the screen named.
This commit is contained in:
@@ -415,9 +415,13 @@ void ScreenOptionsManageCourses::ProcessMenuStart( const InputEventPlus &input )
|
||||
int iCurRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
|
||||
|
||||
if( iCurRow == 0 ) // "create new"
|
||||
{
|
||||
if( !CREATE_NEW_SCREEN.GetValue().empty() )
|
||||
{
|
||||
SCREENMAN->SetNewScreen( CREATE_NEW_SCREEN );
|
||||
/*
|
||||
}
|
||||
else
|
||||
{
|
||||
if( SONGMAN->GetNumEditCourses(ProfileSlot_Machine) >= MAX_EDIT_COURSES_PER_PROFILE )
|
||||
{
|
||||
RString s = ssprintf(
|
||||
@@ -440,7 +444,7 @@ void ScreenOptionsManageCourses::ProcessMenuStart( const InputEventPlus &input )
|
||||
sDefaultName,
|
||||
MAX_EDIT_COURSE_TITLE_LENGTH,
|
||||
ValidateEditCourseName );
|
||||
*/
|
||||
}
|
||||
}
|
||||
else if( iCurRow == (int)m_pRows.size()-1 ) // "done"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user