Skip to content

Commit 4a7a14f

Browse files
committed
sorting fix
1 parent 731853f commit 4a7a14f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/umain.pas

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ procedure TfrmMain.FormCreate(Sender: TObject);
675675
end;
676676

677677
// sort
678-
FstPlaylistList.Sort;
678+
FstFileList.Sort;
679679

680680
// Search inside folder(s)
681681
LoadDirectories(FstDirectoryList, FstFileList);
@@ -727,6 +727,9 @@ procedure TfrmMain.FormCreate(Sender: TObject);
727727
FstPlaylistList.Add(OpenPictureDialog1.Files[i]);
728728
end;
729729
end;
730+
731+
// sort
732+
FstFileList.Sort;
730733
end;
731734

732735
//TODO: playlist

0 commit comments

Comments
 (0)