Page MenuHomePhabricator

gui: Call setWalletActionsEnabled(true) only for the first wallet
ClosedPublic

Authored by PiRK on Dec 1 2021, 15:06.

Details

Summary

On master there is a bug:

  • open an encrypted wallet; please note that the "Encrypt Wallet..." menu item is disabled that is expected
  • then open any other wallet; note that the "Encrypt Wallet..." menu item gets enabled that is wrong

This PR fixes this bug.

This is a backport of core-gui#43

Test Plan

ninja all check-all

Failed to reproduce the bug after this change.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Dec 1 2021, 15:06
Fabien requested changes to this revision.Dec 1 2021, 16:07
Fabien added a subscriber: Fabien.

You linked the issue, not the PR

This revision now requires changes to proceed.Dec 1 2021, 16:07
PiRK requested review of this revision.Dec 1 2021, 16:18
PiRK edited the summary of this revision. (Show Details)

Sorry about that. Fixed.

This revision is now accepted and ready to land.Dec 3 2021, 21:18