Play selected motion.
(self, row, pspec)
| 663 | self._show_status(f"Failed to apply expression", "error") |
| 664 | |
| 665 | def _on_motion_selected(self, row, pspec): |
| 666 | """Play selected motion.""" |
| 667 | group = self.motion_group_selector.get_selected_item() |
| 668 | motion = self.motion_selector.get_selected_item() |
| 669 | |
| 670 | if group and motion: |
| 671 | # Format: group/motion |
| 672 | motion_path = f"{group.get_string()}/{motion.get_string()}" |
| 673 | if self.controller.set_motion(motion_path): |
| 674 | self._show_status(f"Playing motion: {motion_path}", "success") |
| 675 | else: |
| 676 | self._show_status(f"Failed to play motion", "error") |
| 677 | |
| 678 | def _on_overlay_selected(self, row, pspec): |
| 679 | """Apply overlay type.""" |
nothing calls this directly
no test coverage detected