diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-01-21 16:49:33 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-01-21 19:39:01 -0500 |
commit | 14bcdbe09cffaef9bcc51dd9de1645db3f0a93db (patch) | |
tree | 9841a556ec0a0515601e4da88828266ba178f4f1 /src/qt/receivecoinsdialog.cpp | |
parent | 6e6b3b944d12a252a0fd9a1d68fec9843dd5b4f8 (diff) |
Check for more than private keys disabled to show receive button
Diffstat (limited to 'src/qt/receivecoinsdialog.cpp')
-rw-r--r-- | src/qt/receivecoinsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp index bc96b5a6f7..8942188dc9 100644 --- a/src/qt/receivecoinsdialog.cpp +++ b/src/qt/receivecoinsdialog.cpp @@ -101,7 +101,7 @@ void ReceiveCoinsDialog::setModel(WalletModel *_model) } // eventually disable the main receive button if private key operations are disabled - ui->receiveButton->setEnabled(!model->privateKeysDisabled()); + ui->receiveButton->setEnabled(model->canGetAddresses()); } } |