Skip to content

Commit

Permalink
Set countr baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Sep 12, 2023
1 parent 7dff712 commit b5469c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinetoolbox/spine_db_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _remove_item(self, parent, item):
self._remove_item_callbacks.pop(parent, None)
return False
self._remove_items_counter += 1
if self._remove_items_counter == 1:
if self._remove_items_counter > 0:
return True
parent.remove_item(item, self._db_map)
return True
Expand Down

0 comments on commit b5469c0

Please sign in to comment.