diff options
author | Harris <brakmic@gmail.com> | 2019-12-09 10:57:39 +0100 |
---|---|---|
committer | Harris <brakmic@gmail.com> | 2019-12-09 10:57:39 +0100 |
commit | 48a5c92f9ef6634375a3f52812cf3d511c37699d (patch) | |
tree | ee18ab75d890b37d00557aa559f7d3ff7cb0aa17 /src | |
parent | cb11324a63ef10475bfc4d8e45148d5ae6f3e71e (diff) |
ui: disable 3rd-party tx-urls when wallet disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/optionsdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index d48c537c75..0f5ba08a5b 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -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 */ |