mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Not set focus to disabled field
This commit is contained in:
parent
a8baead3f9
commit
3adf086650
@ -137,9 +137,8 @@ public abstract class EditableOfferView<M extends EditableOfferViewModel> extend
|
||||
private TitledGroupBg payFundsTitledGroupBg, setDepositTitledGroupBg, paymentTitledGroupBg;
|
||||
private BusyAnimation waitingForFundsBusyAnimation;
|
||||
private Button nextButton, cancelButton1, cancelButton2, placeOfferButton, priceTypeToggleButton;
|
||||
private InputTextField buyerSecurityDepositInputTextField, fixedPriceTextField, marketBasedPriceTextField,
|
||||
volumeTextField;
|
||||
protected InputTextField amountTextField, minAmountTextField;
|
||||
private InputTextField buyerSecurityDepositInputTextField, fixedPriceTextField, marketBasedPriceTextField;
|
||||
protected InputTextField amountTextField, minAmountTextField, volumeTextField;
|
||||
private TextField currencyTextField;
|
||||
private AddressTextField addressTextField;
|
||||
private BalanceTextField balanceTextField;
|
||||
@ -202,6 +201,10 @@ public abstract class EditableOfferView<M extends EditableOfferViewModel> extend
|
||||
|
||||
paymentAccountsComboBox.setConverter(GUIUtil.getPaymentAccountsComboBoxStringConverter());
|
||||
|
||||
doSetFocus();
|
||||
}
|
||||
|
||||
protected void doSetFocus() {
|
||||
GUIUtil.focusWhenAddedToScene(amountTextField);
|
||||
}
|
||||
|
||||
|
@ -72,6 +72,11 @@ public class EditOpenOfferView extends EditableOfferView<EditOpenOfferViewModel>
|
||||
addConfirmEditGroup();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doSetFocus() {
|
||||
// Don't focus in any field before data was set
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doActivate() {
|
||||
super.doActivate();
|
||||
|
Loading…
Reference in New Issue
Block a user