mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-18 21:35:03 +01:00
Fix NPE in Open Proposals when last column is empty
This commit is contained in:
parent
babdc750ac
commit
741a3d16bd
@ -886,7 +886,8 @@ public class ProposalsView extends ActivatableView<GridPane, Void> implements Bs
|
||||
};
|
||||
}
|
||||
});
|
||||
column.setComparator(Comparator.comparing(item -> ((ProposalsListItem.IconButtonType) item.getIconButton().getUserData()).getTitle()));
|
||||
column.setComparator(Comparator.comparing(item -> item.getIconButton().getUserData() != null ?
|
||||
((ProposalsListItem.IconButtonType) item.getIconButton().getUserData()).getTitle() : ""));
|
||||
tableView.getColumns().add(column);
|
||||
lastColumn = column;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user