mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Merge #17694: ui: disable 3rd-party tx-urls when wallet disabled
48a5c92f9e
ui: disable 3rd-party tx-urls when wallet disabled (Harris) Pull request description: This PR closes #17683 by removing 3rd-party Url-Label and -TextBox from Display Options in wallet-disabled mode. ACKs for top commit: laanwj: Code review ACK48a5c92f9e
fanquake: ACK48a5c92f9e
- tested with and without wallet (compiled out and `-disablewallet`). Tree-SHA512: 3cc89825409fc0a3eec501c4dab5ff1caaa4ce410746a4b6ab200222fff986f4483eab90cda53a98a144be6acf1b6ca8650ab18242c39446f3335b3a9a537066
This commit is contained in:
commit
05c23488c2
1 changed files with 3 additions and 1 deletions
|
@ -77,9 +77,11 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
|
|||
ui->verticalLayout_Main->removeItem(ui->horizontalSpacer_0_Main);
|
||||
#endif
|
||||
|
||||
/* remove Wallet tab in case of -disablewallet */
|
||||
/* remove Wallet tab and 3rd party-URL textbox in case of -disablewallet */
|
||||
if (!enableWallet) {
|
||||
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWallet));
|
||||
ui->thirdPartyTxUrlsLabel->setVisible(false);
|
||||
ui->thirdPartyTxUrls->setVisible(false);
|
||||
}
|
||||
|
||||
/* Display elements init */
|
||||
|
|
Loading…
Add table
Reference in a new issue