mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-07-12 06:15:11 -04:00
Sort profiles list alphabetically
This commit is contained in:
committed by
Adam Honse
parent
e1086712ad
commit
b4b4f3b891
@@ -1021,6 +1021,11 @@ void ProfileManager::UpdateProfileList()
|
||||
}
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Sort the profiles list |
|
||||
\*---------------------------------------------------------*/
|
||||
std::sort(profile_list.begin(), profile_list.end());
|
||||
|
||||
SignalProfileManagerUpdate(PROFILEMANAGER_UPDATE_REASON_PROFILE_LIST_UPDATED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user