Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sort the character, charsound and portrait lists

  • Loading branch information...
commit ad051998a20e176444ae94536b4903cb727a2be3 1 parent c949483
@lynxlynxlynx lynxlynxlynx authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  gemrb/core/Interface.cpp
View
3  gemrb/core/Interface.cpp
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.