Plan B. Figure out what the code is actually meant to be doing

This commit is contained in:
Jonathan Corwin 2011-05-18 19:59:36 +01:00
parent 3add2de140
commit 7b534642b9

View File

@ -221,8 +221,7 @@ class SongMediaItem(MediaManagerItem):
# Push edits to the service manager to update items
if self.editItem and self.updateServiceOnEdit and \
not self.remoteTriggered:
item_id = self._getIdOfItemToGenerate(self.editItem)
item = self.buildServiceItem(item_id)
item = self.buildServiceItem(self.editItem)
self.parent.serviceManager.replaceServiceItem(item)
self.onRemoteEditClear()
self.onSearchTextButtonClick()