Skip to content

BUG: don't iterate using indices in AxisItem.close#145

Merged
shilorigins merged 1 commit into
ui_redesignfrom
devagr/#144
Apr 24, 2025
Merged

BUG: don't iterate using indices in AxisItem.close#145
shilorigins merged 1 commit into
ui_redesignfrom
devagr/#144

Conversation

@shilorigins

Copy link
Copy Markdown
Contributor

Using indicing to iterate was causing half of the indices to become invalid, causing errors.

Disconnecting the signals after closing all children is also important; this way, any error encountered while closing children doesn't disconnect the signals, so the axis continues working and a second call to disconnect doesn't error.

Closes #144

Using indicing to iterate was causing half of the indices to become
invalid, causing errors.

Disconnecting the signals after closing all children is also important;
this way, any error encountered while closing children doesn't
disconnect the signals, so the axis continues working and a second call
to disconnect doesn't error.

Closes GitHub issue #144
@shilorigins shilorigins self-assigned this Apr 24, 2025

@zdomke zdomke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@shilorigins shilorigins merged commit df14b7f into ui_redesign Apr 24, 2025
@shilorigins shilorigins deleted the devagr/#144 branch April 24, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants