qt: mask values on transactions view

This commit is contained in:
pablomartin4btc
2023-02-06 00:13:43 -03:00
parent 4f841cbb81
commit 4492de1be1
6 changed files with 40 additions and 1 deletions

View File

@@ -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);
}