[client] Allow to apply bulkedit, even if the transactions to be edited are...
[client] Allow to apply bulkedit, even if the transactions to be edited are selected prior to the modification to be applied + update the "select all" status on checking/unchecking manually the transactions. fix #1055 (closed).
This MR fixes the issue idendified in #1055 (closed): the main reason of the problem was that the state was improperly updated (no deep copy of a the Set). I also fixed a small issue identified when fixing the issue: to reproduce the problem :
- activate the bulkedit menu
- click "select all" (all the transactions become selected)
- unselect one transaction: the "select all" checkbox is unselected. This behaviour is OK
- reselect the transaction: the "select all" checkbox remained unselecte. I expected that the "select all" checkbox would be selected again