mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Add option(on by default) to move selection when moving torrents up/down the queue. Known bug: Incorrect behavior when trying to move bottommost torrents to the bottom, has no impact besides being unexpected.
This commit is contained in:
parent
14bfa24195
commit
a28e40ea35
2 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,8 @@ DEFAULT_PREFS = {
|
||||||
"downloaded_width":13,
|
"downloaded_width":13,
|
||||||
"uploaded_width":13,
|
"uploaded_width":13,
|
||||||
"owner_width":10,
|
"owner_width":10,
|
||||||
"ignore_duplicate_lines": False
|
"ignore_duplicate_lines": False,
|
||||||
|
"move_selection": True
|
||||||
}
|
}
|
||||||
|
|
||||||
column_pref_names = ["queue","name","size","state",
|
column_pref_names = ["queue","name","size","state",
|
||||||
|
|
|
@ -312,6 +312,7 @@ class InterfacePane(BasePane):
|
||||||
BasePane.__init__(self,offset,parent,width)
|
BasePane.__init__(self,offset,parent,width)
|
||||||
self.add_header("General")
|
self.add_header("General")
|
||||||
self.add_checked_input("ignore_duplicate_lines","Do not store duplicate input in history",parent.console_config["ignore_duplicate_lines"])
|
self.add_checked_input("ignore_duplicate_lines","Do not store duplicate input in history",parent.console_config["ignore_duplicate_lines"])
|
||||||
|
self.add_checked_input("move_selection","Move selection when moving torrents in the queue",parent.console_config["move_selection"])
|
||||||
self.add_header("Columns To Display")
|
self.add_header("Columns To Display")
|
||||||
for cpn in deluge.ui.console.modes.alltorrents.column_pref_names:
|
for cpn in deluge.ui.console.modes.alltorrents.column_pref_names:
|
||||||
pn = "show_%s"%cpn
|
pn = "show_%s"%cpn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue