mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Updated "move selection with queue" feature to reflect changes in behavior
This commit is contained in:
parent
010fd165c6
commit
459c4aebb9
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@ def torrent_action(idx, data, mode, ids):
|
|||
if tq in mode.marked:
|
||||
selected_num += 1
|
||||
if qact == ACTION.QUEUE_TOP:
|
||||
#mode.cursel = 1 + sorted(mode.marked).index(mode.cursel)
|
||||
mode.cursel = selected_num - sorted(mode.marked).index(mode.cursel)
|
||||
mode.cursel = 1 + sorted(mode.marked).index(mode.cursel)
|
||||
mode.marked = range(1, selected_num + 1)
|
||||
elif qact == ACTION.QUEUE_UP:
|
||||
mode.cursel = max(1, mode.cursel - 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue