Fixes for PR #1050
This commit is contained in:
@@ -221,7 +221,7 @@ module.exports = class TorrentListController {
|
|||||||
menu.append(new electron.remote.MenuItem({
|
menu.append(new electron.remote.MenuItem({
|
||||||
label: 'Save Torrent File As...',
|
label: 'Save Torrent File As...',
|
||||||
click: () => dispatch('saveTorrentFileAs', torrentSummary.torrentKey),
|
click: () => dispatch('saveTorrentFileAs', torrentSummary.torrentKey),
|
||||||
enabled: typeof torrentSummary.torrentFileName !== 'undefined'
|
enabled: torrentSummary.torrentFileName != null
|
||||||
}))
|
}))
|
||||||
|
|
||||||
menu.popup(electron.remote.getCurrentWindow())
|
menu.popup(electron.remote.getCurrentWindow())
|
||||||
|
|||||||
Reference in New Issue
Block a user