Add new Sorting Capabilities for Profile list

This commit is contained in:
Crash Cringle
2023-01-23 02:32:23 -05:00
committed by teejusb
parent 4e19ce0d5d
commit f60c1c7f82
15 changed files with 359 additions and 14 deletions
+7
View File
@@ -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