From eb40c777ee77b48a94ed8e5152b7370dd52d1ee5 Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Tue, 1 Dec 2020 18:42:43 -0500 Subject: [PATCH] Make paymentGroupBox local --- .../java/bisq/desktop/main/offer/MutableOfferView.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java b/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java index 42383292f03..e02dd6e5ae6 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/MutableOfferView.java @@ -135,8 +135,7 @@ public abstract class MutableOfferView> exten private BusyAnimation waitingForFundsSpinner; private AutoTooltipButton nextButton, cancelButton1, cancelButton2, placeOfferButton; private Button priceTypeToggleButton; - private InputTextField fixedPriceTextField; - private InputTextField marketBasedPriceTextField; + private InputTextField fixedPriceTextField, marketBasedPriceTextField; protected InputTextField amountTextField, minAmountTextField, volumeTextField, buyerSecurityDepositInputTextField; private TextField currencyTextField; private AddressTextField addressTextField; @@ -154,7 +153,7 @@ public abstract class MutableOfferView> exten currencyTextFieldBox; private HBox fundingHBox, firstRowHBox, secondRowHBox, placeOfferBox, amountValueCurrencyBox, priceAsPercentageValueCurrencyBox, volumeValueCurrencyBox, priceValueCurrencyBox, - minAmountValueCurrencyBox, advancedOptionsBox, paymentGroupBox; + minAmountValueCurrencyBox, advancedOptionsBox; private Subscription isWaitingForFundsSubscription, balanceSubscription; private ChangeListener amountFocusedListener, minAmountFocusedListener, volumeFocusedListener, @@ -988,7 +987,7 @@ private void addPaymentGroup() { paymentTitledGroupBg = addTitledGroupBg(gridPane, gridRow, 1, Res.get("shared.selectTradingAccount")); GridPane.setColumnSpan(paymentTitledGroupBg, 2); - paymentGroupBox = new HBox(); + HBox paymentGroupBox = new HBox(); paymentGroupBox.setAlignment(Pos.CENTER_LEFT); paymentGroupBox.setSpacing(12); paymentGroupBox.setPadding(new Insets(10, 0, 18, 0));