Oops - reverse sorting for Ram Watch
This commit is contained in:
parent
5e27953db0
commit
42e22b63be
|
@ -1389,9 +1389,9 @@ namespace BizHawk.MultiClient
|
||||||
string columnName = WatchListView.Columns[columnToOrder].Text;
|
string columnName = WatchListView.Columns[columnToOrder].Text;
|
||||||
if (sortedCol.CompareTo(columnName) != 0)
|
if (sortedCol.CompareTo(columnName) != 0)
|
||||||
sortReverse = false;
|
sortReverse = false;
|
||||||
watchList.Sort((x, y) => x.CompareTo(y, columnName));//* (sortReverse ? -1 : 1));
|
watchList.Sort((x, y) => x.CompareTo(y, columnName) * (sortReverse ? -1 : 1));
|
||||||
//sortedCol = columnName;
|
sortedCol = columnName;
|
||||||
//sortReverse = !(sortReverse);
|
sortReverse = !(sortReverse);
|
||||||
WatchListView.Refresh();
|
WatchListView.Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue