Permalink
Browse files

sort the character, charsound and portrait lists

  • Loading branch information...
lynxlynxlynx committed Dec 29, 2013
1 parent c949483 commit ad051998a20e176444ae94536b4903cb727a2be3
Showing with 3 additions and 0 deletions.
  1. +3 −0 gemrb/core/Interface.cpp
View
@@ -3716,6 +3716,7 @@ int Interface::GetPortraits(TextArea* ta, bool smallorlarge)
count++;
ta->AppendText( name, -1 );
} while (++dir);
+ ta->SortText();
return count;
}
@@ -3747,6 +3748,7 @@ int Interface::GetCharSounds(TextArea* ta)
count++;
ta->AppendText( name, -1 );
} while (++dir);
+ ta->SortText();
return count;
}
@@ -3774,6 +3776,7 @@ int Interface::GetCharacters(TextArea* ta)
count++;
ta->AppendText( name, -1 );
} while (++dir);
+ ta->SortText();
return count;
}

0 comments on commit ad05199

Please sign in to comment.