mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +00:00
fix occasional miscolored buttons to remove or edit my offer
This commit is contained in:
parent
42ede83ca2
commit
fdee044023
1 changed files with 29 additions and 29 deletions
|
@ -1069,6 +1069,10 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
|
||||||
return new TableCell<>() {
|
return new TableCell<>() {
|
||||||
OfferFilterService.Result canTakeOfferResult = null;
|
OfferFilterService.Result canTakeOfferResult = null;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateItem(final OfferBookListItem item, boolean empty) {
|
||||||
|
super.updateItem(item, empty);
|
||||||
|
|
||||||
final ImageView iconView = new ImageView();
|
final ImageView iconView = new ImageView();
|
||||||
final AutoTooltipButton button = new AutoTooltipButton();
|
final AutoTooltipButton button = new AutoTooltipButton();
|
||||||
|
|
||||||
|
@ -1098,10 +1102,6 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
|
||||||
HBox.setHgrow(button2, Priority.ALWAYS);
|
HBox.setHgrow(button2, Priority.ALWAYS);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void updateItem(final OfferBookListItem item, boolean empty) {
|
|
||||||
super.updateItem(item, empty);
|
|
||||||
|
|
||||||
TableRow<OfferBookListItem> tableRow = getTableRow();
|
TableRow<OfferBookListItem> tableRow = getTableRow();
|
||||||
if (item != null && !empty) {
|
if (item != null && !empty) {
|
||||||
Offer offer = item.getOffer();
|
Offer offer = item.getOffer();
|
||||||
|
|
Loading…
Reference in a new issue