- small fixes

This commit is contained in:
andreas 2010-06-28 22:00:35 +02:00
parent 93ae2b9cf8
commit 68a934de71
4 changed files with 6 additions and 11 deletions

View File

@ -144,11 +144,6 @@ class CustomMediaItem(MediaManagerItem):
self.parent.custommanager.delete_custom(id)
for row in row_list:
self.ListView.takeItem(row)
item = self.ListView.currentItem()
item_id = (item.data(QtCore.Qt.UserRole)).toInt()[0]
self.parent.custommanager.delete_object(CustomSlide, item_id)
row = self.ListView.row(item)
self.ListView.takeItem(row)
def generateSlideData(self, service_item, item=None):
raw_slides = []