mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
ui: disable 3rd-party tx-urls when wallet disabled
This commit is contained in:
parent
cb11324a63
commit
48a5c92f9e
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