mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Tweaks to the files tab code.
This commit is contained in:
parent
47e723fa89
commit
bf1b157b88
1 changed files with 1 additions and 3 deletions
|
@ -190,9 +190,7 @@ class FilesTabManager(FilesBaseManager):
|
|||
|
||||
# From UI to core
|
||||
def update_priorities(self):
|
||||
file_priorities = []
|
||||
for x in self.file_store:
|
||||
file_priorities.append(x[2])
|
||||
file_priorities = [x[2] for x in self.file_store]
|
||||
self.manager.prioritize_files(self.file_unique_id, file_priorities)
|
||||
|
||||
class FilesDialogManager(FilesBaseManager):
|
||||
|
|
Loading…
Add table
Reference in a new issue