diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-03-22 17:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 17:43:50 +0100 |
| commit | 40405edfe1ab9735e33fd705b090dc467983611f (patch) | |
| tree | 1c475c7ab627a9959327fef8cba69815a5739397 /lib/tartan/fill_element.py | |
| parent | ee14e4e28aed2abcfefe05980f7f35ace8634a1c (diff) | |
parent.remove -> delete (#3600)
Diffstat (limited to 'lib/tartan/fill_element.py')
| -rw-r--r-- | lib/tartan/fill_element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tartan/fill_element.py b/lib/tartan/fill_element.py index 6666181e..f4f691c2 100644 --- a/lib/tartan/fill_element.py +++ b/lib/tartan/fill_element.py @@ -20,6 +20,6 @@ def prepare_tartan_fill_element(element: BaseElement) -> None: outer_group = parent_group.getparent() assert outer_group is not None, f"Tartan element {element.get_id()} should have a parent group" outer_group.insert(outer_group.index(parent_group), element) - outer_group.remove(parent_group) + parent_group.delete() # make sure the element is invisible element.style['display'] = 'inline' |
