Skip to content

Commit

Permalink
Merge pull request #2315 from ripcurlx/fix-multiple-payment-account-s…
Browse files Browse the repository at this point in the history
…election-disabled

Not disable the payment account selection in take offer screen
  • Loading branch information
ManfredKarrer authored Jan 25, 2019
2 parents 43da9ad + 8013aa2 commit 8b7646a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ private void onShowPayFundsScreen() {

model.onShowPayFundsScreen();

paymentAccountsComboBox.setDisable(true);

editOfferElements.forEach(node -> {
node.setMouseTransparent(true);
node.setFocusTraversable(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,11 @@ private void onShowPayFundsScreen() {

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);
Expand Down

0 comments on commit 8b7646a

Please sign in to comment.