fix multiple trade ids per line of arbitration table

This commit is contained in:
woodser 2024-01-15 18:09:26 -05:00
parent d8c6c64992
commit 09638d7046

View File

@ -1114,10 +1114,14 @@ public abstract class DisputeView extends ActivatableView<VBox, Void> {
field.setMouseTransparent(false);
field.setTooltip(new Tooltip(Res.get("tooltip.openPopupForDetails")));
field.setOnAction(event -> tradeDetailsWindow.show(tradeOptional.get()));
setGraphic(field);
setText("");
} else {
setText(item.getShortTradeId());
setGraphic(null);
if (field != null)
field.setOnAction(null);
}
setGraphic(field);
} else {
setGraphic(null);
setText("");