Merge pull request #2315 from ripcurlx/fix-multiple-payment-account-selection-disabled

Not disable the payment account selection in take offer screen
This commit is contained in:
Manfred Karrer 2019-01-25 15:00:51 +01:00 committed by GitHub
commit 8b7646a9df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -411,6 +411,8 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel> extends
model.onShowPayFundsScreen();
paymentAccountsComboBox.setDisable(true);
editOfferElements.forEach(node -> {
node.setMouseTransparent(true);
node.setFocusTraversable(false);

View file

@ -484,9 +484,11 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
model.onShowPayFundsScreen();
paymentAccountsComboBox.setMouseTransparent(true);
paymentAccountsComboBox.setDisable(true);
paymentAccountsComboBox.setFocusTraversable(false);
if (DevEnv.isDaoActivated()) {
paymentAccountsComboBox.setMouseTransparent(true);
paymentAccountsComboBox.setDisable(true);
paymentAccountsComboBox.setFocusTraversable(false);
}
amountTextField.setMouseTransparent(true);
amountTextField.setDisable(false);