Skip to content

Commit 05c2348

Browse files
committed
Merge #17694: ui: disable 3rd-party tx-urls when wallet disabled
48a5c92 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 ACK 48a5c92 fanquake: ACK 48a5c92 - tested with and without wallet (compiled out and `-disablewallet`). Tree-SHA512: 3cc89825409fc0a3eec501c4dab5ff1caaa4ce410746a4b6ab200222fff986f4483eab90cda53a98a144be6acf1b6ca8650ab18242c39446f3335b3a9a537066
2 parents c8e65ad + 48a5c92 commit 05c2348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/qt/optionsdialog.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
7777
ui->verticalLayout_Main->removeItem(ui->horizontalSpacer_0_Main);
7878
#endif
7979

80-
/* remove Wallet tab in case of -disablewallet */
80+
/* remove Wallet tab and 3rd party-URL textbox in case of -disablewallet */
8181
if (!enableWallet) {
8282
ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->tabWallet));
83+
ui->thirdPartyTxUrlsLabel->setVisible(false);
84+
ui->thirdPartyTxUrls->setVisible(false);
8385
}
8486

8587
/* Display elements init */

0 commit comments

Comments
 (0)