Skip to content

Commit

Permalink
set placeholder_id to False after calling update_id
Browse files Browse the repository at this point in the history
  • Loading branch information
smacke committed Apr 15, 2023
1 parent 04549d4 commit b77ef1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/ipyflow/data_model/code_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def __hash__(self):
def update_id(self, new_id: CellId, update_edges: bool = True) -> None:
old_id = self.cell_id
self.cell_id = new_id
self._placeholder_id = False
if self.prev_cell is not None:
self.prev_cell.update_id(new_id, update_edges=False)
if not update_edges:
Expand Down

0 comments on commit b77ef1a

Please sign in to comment.