mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Sort session path + names alphabetically, in menus with no header sort logic. Closes #1119
This commit is contained in:
@ -4143,6 +4143,7 @@ begin
|
|||||||
Sessions.Add(ParentPath+Names[i]);
|
Sessions.Add(ParentPath+Names[i]);
|
||||||
for i:=0 to Folders.Count-1 do
|
for i:=0 to Folders.Count-1 do
|
||||||
GetSessionPaths(ParentPath+Folders[i]+'\', Sessions);
|
GetSessionPaths(ParentPath+Folders[i]+'\', Sessions);
|
||||||
|
Sessions.Sort;
|
||||||
Names.Free;
|
Names.Free;
|
||||||
Folders.Free;
|
Folders.Free;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user