Skip to content

Commit a062d52

Browse files
authored
Merge pull request #175 from funkelab/emit_action_applied_signal
Add action_applied signal to tracks
2 parents 4573b6b + b54a879 commit a062d52

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/funtracks/data_model/tracks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Tracks:
5353
"""
5454

5555
refresh = Signal(object)
56+
action_applied = Signal(object)
5657

5758
def __init__(
5859
self,
@@ -782,6 +783,7 @@ def notify_annotators(self, action: BasicAction) -> None:
782783
Args:
783784
action: The action that triggered this notification
784785
"""
786+
self.action_applied.emit(action)
785787
self.annotators.update(action)
786788

787789
def get_available_features(self) -> dict[str, Feature]:

0 commit comments

Comments
 (0)