From f800843ec15b30881b994de254056f605caeffd6 Mon Sep 17 00:00:00 2001 From: GTO90 Date: Sun, 15 Dec 2024 09:22:12 -0600 Subject: [PATCH] wallet: Remove unused descriptor checkbox from wallet creation dialog - Removed the unused descriptor checkbox from the wallet creation dialog. This change cleans up the UI and resolves compiler errors due to missing the `descriptor_checkbox` member by removing an unused element, improving the user experience. References: - https://github.com/DigiByte-Core/digibyte/pull/213 - https://github.com/DigiByte-Core/digibyte/pull/227 - https://github.com/DigiByte-Core/digibyte/issues/239#issuecomment-2120851953 --- src/qt/createwalletdialog.cpp | 8 -------- src/qt/forms/createwalletdialog.ui | 1 - 2 files changed, 9 deletions(-) diff --git a/src/qt/createwalletdialog.cpp b/src/qt/createwalletdialog.cpp index 786fde394f..1bcf7917e2 100644 --- a/src/qt/createwalletdialog.cpp +++ b/src/qt/createwalletdialog.cpp @@ -85,18 +85,10 @@ CreateWalletDialog::CreateWalletDialog(QWidget* parent) : }); #ifndef USE_SQLITE - ui->descriptor_checkbox->setToolTip(tr("Compiled without sqlite support (required for descriptor wallets)")); - ui->descriptor_checkbox->setEnabled(false); - ui->descriptor_checkbox->setChecked(false); ui->external_signer_checkbox->setEnabled(false); ui->external_signer_checkbox->setChecked(false); #endif -#ifndef USE_BDB - ui->descriptor_checkbox->setEnabled(false); - ui->descriptor_checkbox->setChecked(true); -#endif - #ifndef ENABLE_EXTERNAL_SIGNER //: "External signing" means using devices such as hardware wallets. ui->external_signer_checkbox->setToolTip(tr("Compiled without external signing support (required for external signing)")); diff --git a/src/qt/forms/createwalletdialog.ui b/src/qt/forms/createwalletdialog.ui index e32c437fb8..ae4c22337a 100644 --- a/src/qt/forms/createwalletdialog.ui +++ b/src/qt/forms/createwalletdialog.ui @@ -142,7 +142,6 @@ encrypt_wallet_checkbox disable_privkeys_checkbox blank_wallet_checkbox - descriptor_checkbox external_signer_checkbox