Skip to content

Commit

Permalink
Merge pull request #4436 from xoriole/fix-torrentdetails
Browse files Browse the repository at this point in the history
Fixed torrent details page crash
  • Loading branch information
xoriole authored Mar 26, 2019
2 parents dfd104f + 8e91106 commit 65d974c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TriblerGUI/widgets/torrentdetailstabwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def initialize_details_widget(self):
self.check_health_button.clicked.connect(self.on_check_health_clicked)

def on_torrent_info(self, torrent_info):
if not torrent_info:
if not torrent_info or "torrent" not in torrent_info:
return
self.setTabEnabled(1, True)

Expand Down

0 comments on commit 65d974c

Please sign in to comment.