mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 22:45:55 -04:00
Sort profiles list alphabetically
This commit is contained in:
committed by
Adam Honse
parent
959f8822f8
commit
9ac84ed408
@@ -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