-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix on TransactionsView - Disable if privacy mode is set during wallet selection #815
base: master
Are you sure you want to change the base?
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK d3da502
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like the wrong place to fix it. Why not inside setWalletActionsEnabled
(or whatever is enabling it to begin with)?
Yeah, it makes more sense, I'll rework it. Thanks! |
d3da502
to
6c3b027
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure you can just modify the existing line in setWalletActionsEnabled
to:
historyAction->setEnabled(enabled && !isPrivacyModeActivated());
|
6c3b027
to
6180086
Compare
This one-line change works without anything else: |
Sorry, I made another mistake, thanks for double checking. To other reviewers: please hold on till next push, thanks. |
Making sure that if the privacy mode is activaded during the wallet selection, the transaction view is not shown.
6180086
to
260d6eb
Compare
Updates:
|
Currenlty on
master
, when the "mask values" checkbox is ticked if the user selects a different wallet, the history action is enable and if the user clicks on it can see all the transactions in the transaction view.This PR fixes it.
Note for maintainers: this needs to be backported to 25.x and 26.x.