mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
Add Webui keymaps for torrents - Ctrl-A (select all) and Delete
This commit is contained in:
parent
f5956f01e7
commit
5ff0d61b52
2 changed files with 20 additions and 0 deletions
|
@ -31,6 +31,9 @@
|
||||||
* #1936: Fix Referenced before assignment error in json_api
|
* #1936: Fix Referenced before assignment error in json_api
|
||||||
* Changes are now applied when clicking OK in Preferences
|
* Changes are now applied when clicking OK in Preferences
|
||||||
* Added Download,Uploaded,Down Limit, Up Limit & Seeder/Peeds columns
|
* Added Download,Uploaded,Down Limit, Up Limit & Seeder/Peeds columns
|
||||||
|
* Add magnet uri support to Add Url
|
||||||
|
* Add keymaps for torrents - Ctrl-A (select all) and Delete
|
||||||
|
|
||||||
|
|
||||||
==== Console ====
|
==== Console ====
|
||||||
* #1953: Fix flickering on every update
|
* #1953: Fix flickering on every update
|
||||||
|
|
|
@ -254,11 +254,28 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
keys: [{
|
||||||
|
key: 'a',
|
||||||
|
ctrl: true,
|
||||||
|
stopEvent: true,
|
||||||
|
handler: function() {
|
||||||
|
deluge.torrents.getSelectionModel().selectAll();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: [46],
|
||||||
|
stopEvent: true,
|
||||||
|
handler: function() {
|
||||||
|
ids = deluge.torrents.getSelectedIds();
|
||||||
|
deluge.removeWindow.show(ids);
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
|
||||||
constructor: function(config) {
|
constructor: function(config) {
|
||||||
config = Ext.apply({
|
config = Ext.apply({
|
||||||
id: 'torrentGrid',
|
id: 'torrentGrid',
|
||||||
store: new Ext.data.JsonStore(this.meta),
|
store: new Ext.data.JsonStore(this.meta),
|
||||||
columns: this.columns,
|
columns: this.columns,
|
||||||
|
keys: this.keys,
|
||||||
region: 'center',
|
region: 'center',
|
||||||
cls: 'deluge-torrents',
|
cls: 'deluge-torrents',
|
||||||
stripeRows: true,
|
stripeRows: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue