mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-30 05:52:33 +02:00
GUI: Force descriptor wallets when BDB is not compiled
This commit is contained in:
parent
71e40b33bd
commit
ee47f11f73
@ -51,12 +51,15 @@ CreateWalletDialog::CreateWalletDialog(QWidget* parent) :
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
#ifndef USE_SQLITE
|
#ifndef USE_SQLITE
|
||||||
ui->descriptor_checkbox->setToolTip(tr("Compiled without sqlite support (required for descriptor wallets)"));
|
ui->descriptor_checkbox->setToolTip(tr("Compiled without sqlite support (required for descriptor wallets)"));
|
||||||
ui->descriptor_checkbox->setEnabled(false);
|
ui->descriptor_checkbox->setEnabled(false);
|
||||||
ui->descriptor_checkbox->setChecked(false);
|
ui->descriptor_checkbox->setChecked(false);
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef USE_BDB
|
||||||
|
ui->descriptor_checkbox->setEnabled(false);
|
||||||
|
ui->descriptor_checkbox->setChecked(true);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateWalletDialog::~CreateWalletDialog()
|
CreateWalletDialog::~CreateWalletDialog()
|
||||||
|
Loading…
Reference in New Issue
Block a user