Skip to content

Commit

Permalink
fixes #4452
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkelDok authored and buchen committed Jan 6, 2025
1 parent ab4bc39 commit ee88778
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ public Font getFont(Object element)
return position.explain(ClientPerformanceSnapshot.Position.TRAIL_VALUE).map(MoneyTrailDataSource::new)
.orElseGet(() -> null);
});
column.setSorter(ColumnViewerSorter.create(o -> {
if (o instanceof ClientPerformanceSnapshot.Position pos)
return pos.getValue();

return null;
}));
support.addColumn(column);

column = new Column("forex", Messages.ColumnThereofForeignCurrencyGains, SWT.RIGHT, 80); //$NON-NLS-1$
Expand Down

0 comments on commit ee88778

Please sign in to comment.