Merge bitcoin-core/gui#701: Persist Mask Values option
4de02def84qt: Persist Mask Values option (Andrew Chow) Pull request description: The mask values option is memory only. If a user has enabled this option, it's reasonable to expect that they would want to have it enabled on the next start. ACKs for top commit: RandyMcMillan: tACK https://github.com/bitcoin-core/gui/commit/4de02def844102c08b65bf1311a333e7aca482b9 jarolrod: tACK4de02def84pablomartin4btc: > tACK [4de02de](https://github.com/bitcoin-core/gui/commit/4de02def844102c08b65bf1311a333e7aca482b9) john-moffett: tACK4de02def84Tree-SHA512: 247deb78df4911516625bf8b25d752feb480ce30eb31335cf9baeb07b7c6c225fcc37d5c45de62d6e6895ec10c7eefabb15527e3c9723a3b8ddda1e12ebbf46b
This commit is contained in:
4 files changed
+13
No files matched your search
@@ -173,6 +173,7 @@ void OverviewPage::handleTransactionClicked(const QModelIndex &index)
|
||||
void OverviewPage::setPrivacy(bool privacy)
|
||||
{
|
||||
m_privacy = privacy;
|
||||
clientModel->getOptionsModel()->setOption(OptionsModel::OptionID::MaskValues, privacy);
|
||||
const auto& balances = walletModel->getCachedBalance();
|
||||
if (balances.balance != -1) {
|
||||
setBalance(balances);
|
||||
|
||||
Reference in new issue
Block a user