mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
qt: mask values on transactions view
This commit is contained in:
@@ -93,6 +93,7 @@ WalletView::WalletView(WalletModel* wallet_model, const PlatformStyle* _platform
|
||||
connect(transactionView, &TransactionView::message, this, &WalletView::message);
|
||||
|
||||
connect(this, &WalletView::setPrivacy, overviewPage, &OverviewPage::setPrivacy);
|
||||
connect(this, &WalletView::setPrivacy, this, &WalletView::disableTransactionView);
|
||||
|
||||
// Receive and pass through messages from wallet model
|
||||
connect(walletModel, &WalletModel::message, this, &WalletView::message);
|
||||
@@ -278,3 +279,8 @@ void WalletView::showProgress(const QString &title, int nProgress)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void WalletView::disableTransactionView(bool disable)
|
||||
{
|
||||
transactionView->setDisabled(disable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user