From 2f0cd6da64bf7601f07d43188de4072b487e0f31 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Tue, 1 Jan 2019 15:45:58 +0100 Subject: [PATCH] Remove template api override --- engine/api.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/engine/api.py b/engine/api.py index bd8f7d3..7f81a8a 100644 --- a/engine/api.py +++ b/engine/api.py @@ -133,15 +133,6 @@ class ClientCallbacks(Callbacks): #inherits from the templates api callbacks for func in self.trackStructureChanged: func(export) - def _numberOfTracksChanged(self): - """sent the current track order as list of ids, combined with their structure. - This is also used when tracks get created or deleted, also on initial load. - This also includes the pattern. - """ - lst = [track.export() for track in session.data.tracks] - for func in self.numberOfTracksChanged: - func(lst) - def _trackMetaDataChanged(self, track): """a low cost function that should not trigger anything costly to redraw but some text and simple widgets."""