Commit b513c5ca authored by Carlos Alves's avatar Carlos Alves
Browse files

Sort profiles by name to show in menu

parent 03bcf1ad
......@@ -312,7 +312,10 @@ QList<Profile::Ptr> ProfileManager::allProfiles()
{
loadAllProfiles();
return _profiles.values();
auto loadedProfiles = _profiles.values();
sortByNameProfileList(loadedProfiles);
return loadedProfiles;
}
QList<Profile::Ptr> ProfileManager::loadedProfiles() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment