Store magnet URI once torrent has been parsed

Fixes #1035.
This commit is contained in:
Adam Gotlib
2016-10-15 17:00:03 +02:00
parent d8904aaf6e
commit d631ed1cc7
3 changed files with 4 additions and 4 deletions

View File

@@ -336,7 +336,7 @@ function setupIpc () {
ipcRenderer.on('windowBoundsChanged', onWindowBoundsChanged)
const tc = controllers.torrent()
ipcRenderer.on('wt-infohash', (e, ...args) => tc.torrentInfoHash(...args))
ipcRenderer.on('wt-parsed', (e, ...args) => tc.torrentParsed(...args))
ipcRenderer.on('wt-metadata', (e, ...args) => tc.torrentMetadata(...args))
ipcRenderer.on('wt-done', (e, ...args) => tc.torrentDone(...args))
ipcRenderer.on('wt-warning', (e, ...args) => tc.torrentWarning(...args))