feat(delete-all-torrents): added remove all torrents capability to the Transfers menu

This commit is contained in:
Sharon Grossman
2017-09-26 18:39:43 +03:00
committed by Mathias Rasmussen
parent 11b42e58c1
commit b7fedb1983
5 changed files with 72 additions and 1 deletions

View File

@@ -288,6 +288,14 @@ function getMenuTemplate () {
{
label: 'Resume All',
click: () => windows.main.dispatch('resumeAllTorrents')
},
{
label: 'Remove All From List',
click: () => windows.main.dispatch('confirmDeleteAllTorrents', false)
},
{
label: 'Remove All Data Files',
click: () => windows.main.dispatch('confirmDeleteAllTorrents', true)
}
]
},