Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix layers dropdown not showing all loaded data #250

Closed
wants to merge 1 commit into from

Conversation

pllim
Copy link
Contributor

@pllim pllim commented Aug 12, 2021

Description

This is a subset of #244 that only fixes a bug introduced by #249 . Hopefully this is less controversial and can get merged faster. cc @rosteen @astrofrog

@@ -72,6 +72,9 @@ def _update_layers_from_glue_state(*args):
self.viewer.state.add_callback('layers', _update_layers_from_glue_state)
_update_layers_from_glue_state()
Copy link
Member

Choose a reason for hiding this comment

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

I don't fully understand why this isn't doing the trick (the add callback). Let me double check what is going on.

@astrofrog
Copy link
Member

I think #251 is the preferred way of fixing this as it gets to why the callback wasn't being triggered at the right time.

@pllim
Copy link
Contributor Author

pllim commented Aug 12, 2021

Superseded by #251

@pllim pllim closed this Aug 12, 2021
@pllim pllim deleted the fix-layers-sync branch August 12, 2021 15:53
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