Some random fix ;-)

bzr-revno: 909
This commit is contained in:
Andreas Preikschat 2010-07-02 19:18:54 +01:00 committed by Tim Bentley
commit f519e037b9

View File

@ -141,7 +141,7 @@ class CustomMediaItem(MediaManagerItem):
id_list = [(item.data(QtCore.Qt.UserRole)).toInt()[0] id_list = [(item.data(QtCore.Qt.UserRole)).toInt()[0]
for item in self.ListView.selectedIndexes()] for item in self.ListView.selectedIndexes()]
for id in id_list: for id in id_list:
self.parent.custommanager.delete_custom(id) self.parent.custommanager.delete_object(CustomSlide, id)
for row in row_list: for row in row_list:
self.ListView.takeItem(row) self.ListView.takeItem(row)