Fix bug in PlaybackController

This commit is contained in:
DC
2016-07-17 17:34:58 -07:00
parent 7b8751312a
commit d0733d3370

View File

@@ -40,7 +40,7 @@ module.exports = class PlaybackController {
// Show a file in the OS, eg in Finder on a Mac
openItem (infoHash, index) {
var torrentSummary = torrentSummary.getByKey(this.state, infoHash)
var torrentSummary = TorrentSummary.getByKey(this.state, infoHash)
var filePath = path.join(
torrentSummary.path,
torrentSummary.files[index].path)