Commit 082efc2
committed
[FIX] table: "delete table" menu item does not always work
The menu item "delete table" was not working if a table was in the
selection but not on the active cell.
This commit changes it to be consistent with "Edit table", it will now
delete the first table in the selection.
closes #8827
Task: 6247743
X-original-commit: 9d39f5d
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Signed-off-by: Adrien Minne (adrm) <adrm@odoo.com>1 parent 77cb2a1 commit 082efc2
2 files changed
Lines changed: 11 additions & 3 deletions
File tree
- src/actions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
635 | | - | |
| 634 | + | |
636 | 635 | | |
637 | 636 | | |
638 | 637 | | |
639 | 638 | | |
640 | | - | |
| 639 | + | |
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1773 | 1773 | | |
1774 | 1774 | | |
1775 | 1775 | | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
1776 | 1785 | | |
1777 | 1786 | | |
1778 | 1787 | | |
| |||
0 commit comments