fix newline
[enigma2.git] / lib / python / Screens / MovieSelection.py
index effb5389222a8e423a1a208de638f8dfa11b73e9..f3754c202188a3bddd0ce2eda63db75806500c9d 100644 (file)
@@ -52,13 +52,7 @@ class ChannelContextMenu(FixedMenu):
                if result == False:
                        self.session.openWithCallback(self.close, MessageBox, _("Delete failed!"), MessageBox.TYPE_ERROR)
                else:
-                       list = self.csel["list"]
-                       currentIndex = list.getCurrentIndex()
-                       list.moveDown()
-                       if list.getCurrentIndex() == currentIndex:
-                               currentIndex -= 1
-                       list.reload()
-                       list.moveToIndex(currentIndex)
+                       list = self.csel["list"].removeService(self.service)
                        self.close()
  
 class MovieSelection(Screen):