Steps to reproduce issue:
- Use the wallet that has a Masternode collateral locked.
- Open Coin Control in Tree mode, click
Toggle lock state button.
- PIVX-Qt popup window will show up saying "Please switch to "List mode" to use this function."
- When you click OK,
Toggle lock state button will be "pressed" (it switched from OFF to ON although the error window appeared).
- If you don't go press it again, it will stay "turned ON".