IDE: Sort a list of choices got from FPC in All Options GUI. Part of #28998, patch from Simon Ameis.

git-svn-id: trunk@50863 -
This commit is contained in:
juha 2015-12-17 14:05:10 +00:00
parent 1e8a59e54a
commit ea1023cb37

View File

@ -1205,6 +1205,7 @@ function TCompilerOptReader.ReadCategorySelections(aChar: Char): TStringList;
// Get the selection list for a category using "fpc -i+char", for new FPC versions.
begin
Result:=RunTool(fCompilerExecutable, fParsedTarget + ' -i' + aChar);
Result.Sort;
end;
function TCompilerOptReader.ReadAndParseOptions: TModalResult;