parent
57c8dff396
commit
89e051ff51
@ -113,7 +113,7 @@ class DownloadView(QListView):
|
|||||||
if not index.isValid():
|
if not index.isValid():
|
||||||
return
|
return
|
||||||
item = self.model().data(index, downloads.ModelRole.item)
|
item = self.model().data(index, downloads.ModelRole.item)
|
||||||
if item.done:
|
if item.done and item.successful:
|
||||||
item.open_file()
|
item.open_file()
|
||||||
self.model().remove_item(item)
|
self.model().remove_item(item)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user