[libcalamaresui] Sort languages by ISO code

- this puts the Englishes together, and is less confusing than
   sorting with American first.
main
Adriaan de Groot 6 years ago
parent 5994e9b4ce
commit 5e951466df

@ -154,11 +154,7 @@ public:
*/
bool operator <( const LocaleLabel& other ) const
{
if ( isEnglish() )
return !other.isEnglish();
if ( other.isEnglish() )
return false;
return m_sortKey < other.m_sortKey;
return m_localeId < other.m_localeId;
}
/** @brief Is this locale English?

Loading…
Cancel
Save