Add Webui keymaps for torrents - Ctrl-A (select all) and Delete
This commit is contained in:
parent
f897f03227
commit
62c7209558
|
@ -74,6 +74,9 @@
|
|||
* #1936: Fix Referenced before assignment error in json_api
|
||||
* Changes are now applied when clicking OK in Preferences
|
||||
* 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 ====
|
||||
* #1953: Fix flickering on every update
|
||||
|
|
|
@ -289,11 +289,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) {
|
||||
config = Ext.apply({
|
||||
id: 'torrentGrid',
|
||||
store: new Ext.data.JsonStore(this.meta),
|
||||
columns: this.columns,
|
||||
keys: this.keys,
|
||||
region: 'center',
|
||||
cls: 'deluge-torrents',
|
||||
stripeRows: true,
|
||||
|
|
Loading…
Reference in New Issue