Skip to content

Commit

Permalink
update callbacks
Browse files Browse the repository at this point in the history
* upstream now defaults to calling the callback before the selection is updated, with new callback names to trigger AFTER the selection is updated
  • Loading branch information
kecnry committed Sep 6, 2023
1 parent c1df172 commit 3864932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lcviz/plugins/ephemeris/ephemeris.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def __init__(self, *args, **kwargs):
items='component_items',
selected='component_selected',
manual_options=['default'],
on_rename=self._on_component_rename,
on_remove=self._on_component_remove)
on_rename_after_selection=self._on_component_rename, # noqa
on_remove_after_selection=self._on_component_remove) # noqa
# force the original entry in ephemerides with defaults
self._change_component()

Expand Down

0 comments on commit 3864932

Please sign in to comment.