forked from openlp/openlp
changed the variable name
This commit is contained in:
parent
4f05a42627
commit
5de4832ae7
@ -120,11 +120,11 @@ class ImageMediaItem(MediaManagerItem):
|
|||||||
if check_item_selected(self.ListView, translate('ImagePlugin.MediaItem',
|
if check_item_selected(self.ListView, translate('ImagePlugin.MediaItem',
|
||||||
'You must select an item to delete.')):
|
'You must select an item to delete.')):
|
||||||
items = self.ListView.selectedIndexes()
|
items = self.ListView.selectedIndexes()
|
||||||
row_count = []
|
row_list = []
|
||||||
for item in items:
|
for item in items:
|
||||||
row_count.append(item.row())
|
row_list.append(item.row())
|
||||||
row_count.sort(reverse=True)
|
row_list.sort(reverse=True)
|
||||||
for item in row_count:
|
for item in row_list:
|
||||||
text = self.ListView.item(item)
|
text = self.ListView.item(item)
|
||||||
if text:
|
if text:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user