Fixes for PR #1050

This commit is contained in:
Feross Aboukhadijeh
2016-10-18 12:49:09 +01:00
parent ffd9fbda57
commit 7cf1d96a80

View File

@@ -221,7 +221,7 @@ module.exports = class TorrentListController {
menu.append(new electron.remote.MenuItem({
label: 'Save Torrent File As...',
click: () => dispatch('saveTorrentFileAs', torrentSummary.torrentKey),
enabled: typeof torrentSummary.torrentFileName !== 'undefined'
enabled: torrentSummary.torrentFileName != null
}))
menu.popup(electron.remote.getCurrentWindow())