Skip to content

Commit 0a39ada

Browse files
committed
Minor fix column sort on Windows
1 parent 7b27a49 commit 0a39ada

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

LibHac

Windows/Main.cs

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public int Compare(OLVListItem x, OLVListItem y)
6161
return ((Title)x.RowObject).latestVersion.CompareTo(((Title)y.RowObject).latestVersion) * (order == SortOrder.Ascending ? 1 : -1);
6262
case "applicationVersionString":
6363
return ((Title)x.RowObject).applicationVersion.CompareTo(((Title)y.RowObject).applicationVersion) * (order == SortOrder.Ascending ? 1 : -1);
64+
case "masterkeyString":
65+
return ((Title)x.RowObject).masterkey.CompareTo(((Title)y.RowObject).masterkey) * (order == SortOrder.Ascending ? 1 : -1);
6466
case "filesizeString":
6567
return ((Title)x.RowObject).filesize.CompareTo(((Title)y.RowObject).filesize) * (order == SortOrder.Ascending ? 1 : -1);
6668
case "displayVersion":

0 commit comments

Comments
 (0)