pass
def _on_delete_curve(self, _class, method, playlist, curve):
- # TODO: execute_command 'remove curve from playlist'
+ index = playlist.index(curve)
+ results = self.execute_command(
+ command=self._command_by_name('remove curve from playlist'),
+ args={'index': index})
#os.remove(curve.path)
pass