reverse sort order of date column in utxos tab

This commit is contained in:
Craig Raw 2022-04-29 15:38:10 +02:00
parent 472fccc788
commit 8d28f8f0a9

View file

@ -24,6 +24,7 @@ public class UtxosTreeTable extends CoinTreeTable {
});
dateCol.setCellFactory(p -> new DateCell());
dateCol.setSortable(true);
dateCol.setComparator((o1, o2) -> (int) (o2.getValue() - o1.getValue()));
getColumns().add(dateCol);
TreeTableColumn<Entry, Entry> outputCol = new TreeTableColumn<>("Output");