Add new Sorting Capabilities for Profile list
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "GameState.h"
|
||||
#include "ScreenManager.h"
|
||||
#include "SongManager.h"
|
||||
#include "ProfileManager.h"
|
||||
#include "PrefsManager.h"
|
||||
#include "StepMania.h"
|
||||
#include "RageSoundManager.h"
|
||||
@@ -111,6 +112,12 @@ void ScreenOptionsMaster::HandleScreenMessage( const ScreenMessage SM )
|
||||
for( unsigned r=0; r<m_pRows.size(); r++ ) // foreach row
|
||||
ExportOptions( r, vpns );
|
||||
|
||||
if (m_iChangeMask & OPT_APPLY_PROFILES)
|
||||
{
|
||||
// If we're changing profile settings such as sort order, we need to reload them
|
||||
PROFILEMAN->RefreshLocalProfilesFromDisk();
|
||||
}
|
||||
|
||||
if( m_iChangeMask & OPT_APPLY_ASPECT_RATIO )
|
||||
{
|
||||
THEME->UpdateLuaGlobals(); // This needs to be done before resetting the projection matrix below
|
||||
|
||||
Reference in New Issue
Block a user