Skip to content

[client] Allow to apply bulkedit, even if the transactions to be edited are...

Antoine requested to merge ZeHiro/kresus:fix-bulkedit into master

[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

Merge request reports