mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Don't use CPrivateSendClientOptions
Signed-off-by: pasta <pasta@dashboost.org>
This commit is contained in:
parent
f7c683844c
commit
229ea48a5a
@ -1149,7 +1149,7 @@ void BitcoinGUI::updateProgressBarVisibility()
|
||||
void BitcoinGUI::updatePrivateSendVisibility()
|
||||
{
|
||||
#ifdef ENABLE_WALLET
|
||||
bool fEnabled = CPrivateSendClientOptions::IsEnabled();
|
||||
bool fEnabled = privateSendClient.fEnablePrivateSend;
|
||||
#else
|
||||
bool fEnabled = false;
|
||||
#endif
|
||||
|
@ -700,7 +700,7 @@ void CoinControlDialog::updateView()
|
||||
ui->radioTreeMode->setVisible(fNormalMode);
|
||||
ui->radioListMode->setVisible(fNormalMode);
|
||||
|
||||
if (!CPrivateSendClientOptions::IsEnabled()) {
|
||||
if (!privateSendClient.fEnablePrivateSend) {
|
||||
fHideAdditional = false;
|
||||
ui->hideButton->setVisible(false);
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ void OptionsDialog::updateDefaultProxyNets()
|
||||
void OptionsDialog::updatePrivateSendVisibility()
|
||||
{
|
||||
#ifdef ENABLE_WALLET
|
||||
bool fEnabled = CPrivateSendClientOptions::IsEnabled();
|
||||
bool fEnabled = privateSendClient.fEnablePrivateSend;
|
||||
#else
|
||||
bool fEnabled = false;
|
||||
#endif
|
||||
|
@ -710,7 +710,7 @@ void TransactionView::updateWatchOnlyColumn(bool fHaveWatchOnly)
|
||||
|
||||
void TransactionView::updatePrivateSendVisibility()
|
||||
{
|
||||
bool fEnabled = CPrivateSendClientOptions::IsEnabled();
|
||||
bool fEnabled = privateSendClient.fEnablePrivateSend;
|
||||
// If PrivateSend gets enabled use "All" else "Most common"
|
||||
typeWidget->setCurrentIndex(fEnabled ? 0 : 1);
|
||||
// Hide all PrivateSend related filters
|
||||
|
Loading…
Reference in New Issue
Block a user