Skip to content

Commit

Permalink
fixed manual vs automatic deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
saarah815 committed Aug 13, 2024
1 parent a30876d commit 8041ade
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brainglobe_registration/registration_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def _on_atlas_dropdown_index_changed(self, index):
try:
self._viewer.layers.pop(current_atlas_layer_index)
self._delete_atlas_layers()
self.run_button.setEnabled(True)
self._viewer.grid.enabled = True
finally:
self._automatic_deletion_flag = False
else:
Expand Down

0 comments on commit 8041ade

Please sign in to comment.