Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] borders: wrong borders on remove rows
When removing multiple headers, the borders are not shifted correctly, leading to incorrect borders. This happens because we modify the borders for each deleted rows separately. But we don't sort the rows before modifying the borders. So we first delete the row 1, then the row 2. But the row 2 is now the row 1, since the old row 1 has been deleted. So we end up with wrong operations. This is solved by simply sorting the rows in reverse order before modifying the borders. closes #4121 Task: 3884112 X-original-commit: 0dbad31 Signed-off-by: Adrien Minne (adrm) <adrm@odoo.com> Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information