From 48877517d61e9c3e06e4fd2e04989834786341e6 Mon Sep 17 00:00:00 2001 From: beingindot Date: Tue, 25 Feb 2020 16:10:31 +0530 Subject: [PATCH] Tableview multiple rows checkbox column issue As mentioned in the issue #3984, Have created lot of buy/sell offers with different currencies spanning across around 30+ offers so that we need to use scroll bar in my open offers and able to recreate the issue. --- .../bisq/desktop/main/portfolio/openoffer/OpenOffersView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/portfolio/openoffer/OpenOffersView.java b/desktop/src/main/java/bisq/desktop/main/portfolio/openoffer/OpenOffersView.java index 5a27a8bffd6..6c5da5f7c13 100644 --- a/desktop/src/main/java/bisq/desktop/main/portfolio/openoffer/OpenOffersView.java +++ b/desktop/src/main/java/bisq/desktop/main/portfolio/openoffer/OpenOffersView.java @@ -406,8 +406,6 @@ public void updateItem(final OpenOfferListItem item, boolean empty) { if (checkBox == null) { checkBox = new AutoTooltipCheckBox(); checkBox.setGraphic(iconView); - updateState(item.getOpenOffer()); - setGraphic(checkBox); } checkBox.setOnAction(event -> { if (item.getOpenOffer().isDeactivated()) { @@ -418,6 +416,8 @@ public void updateItem(final OpenOfferListItem item, boolean empty) { updateState(item.getOpenOffer()); tableView.refresh(); }); + updateState(item.getOpenOffer()); + setGraphic(checkBox); } else { setGraphic(null); if (checkBox != null) {