mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #6352 from Android-X13/npe-open-proposals
Prevent NPE in Open Proposals when last column is empty
This commit is contained in:
commit
3cc1517606
@ -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