aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarris <brakmic@gmail.com>2019-12-09 10:57:39 +0100
committerHarris <brakmic@gmail.com>2019-12-09 10:57:39 +0100
commit48a5c92f9ef6634375a3f52812cf3d511c37699d (patch)
treeee18ab75d890b37d00557aa559f7d3ff7cb0aa17 /src
parentcb11324a63ef10475bfc4d8e45148d5ae6f3e71e (diff)
ui: disable 3rd-party tx-urls when wallet disabled
Diffstat (limited to 'src')
-rw-r--r--src/qt/optionsdialog.cpp4
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 */