Skip to content

Commit 4286e07

Browse files
committed
fix: don't try and add id to widget
1 parent d32d962 commit 4286e07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

loopstructural/gui/modelling/stratigraphic_column/stratigraphic_column.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def add_unit(self, *, unit_data=None, create_new=True):
9494
unit_data['uuid']
9595
)
9696
unit_data.pop('type', None) # Remove type if present
97+
unit_data.pop('id', None)
9798
for k in list(unit_data.keys()):
9899
if unit_data[k] is None:
99100
unit_data.pop(k)

0 commit comments

Comments
 (0)