diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-04-28 15:29:12 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-10-08 12:56:06 -0400 |
commit | 742918c8ef353993a07c060f476a160e8272a9ef (patch) | |
tree | ecb9fed1f41caa670da2aafef33e2ebed8754043 /src/qt/walletmodel.cpp | |
parent | 5c3b800acd3ceb75ff6bbac8d0e2e1aaa95b0728 (diff) | |
download | bitcoin-742918c8ef353993a07c060f476a160e8272a9ef.tar.xz |
qt: hide Create Unsigned button behind an expert mode option
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index c0af26f598..54b12c42c2 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -505,7 +505,7 @@ bool WalletModel::bumpFee(uint256 hash, uint256& new_hash) questionString.append(tr("Warning: This may pay the additional fee by reducing change outputs or adding inputs, when necessary. It may add a new change output if one does not already exist. These changes may potentially leak privacy.")); } - auto confirmationDialog = new SendConfirmationDialog(tr("Confirm fee bump"), questionString, "", "", SEND_CONFIRM_DELAY, !m_wallet->privateKeysDisabled(), true, nullptr); + auto confirmationDialog = new SendConfirmationDialog(tr("Confirm fee bump"), questionString, "", "", SEND_CONFIRM_DELAY, !m_wallet->privateKeysDisabled(), getOptionsModel()->getEnablePSBTControls(), nullptr); confirmationDialog->setAttribute(Qt::WA_DeleteOnClose); // TODO: Replace QDialog::exec() with safer QDialog::show(). const auto retval = static_cast<QMessageBox::StandardButton>(confirmationDialog->exec()); |